Browse Source

问卷调查手机端问卷提交方式get改为post

西昌缴费二期
liangkun 3 years ago
parent
commit
12c476b113
3 changed files with 4 additions and 3 deletions
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/AskPaper/AskPaper.js
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/AskApi.cs
  3. +2
    -1
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Web.config

+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/AskPaper/AskPaper.js View File

@@ -92,7 +92,7 @@
return
}
// return
learun.httpget(path + "/learun/ask/savepaper",
learun.httppost(path + "/learun/ask/savepaper",
{
VID: param.VID,
LessonNo: param.LessonNo,


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/AskApi.cs View File

@@ -22,7 +22,7 @@ namespace Learun.Application.WebApi.Modules
{
Get["/paper"] = GetPaper;// 获取组织机构数据映射表
Get["/studentlist"] = GetStudentList;
Get["/savepaper"] = SavePaper;
Post["/savepaper"] = SavePaper;
}

private Ask_MainIBLL ask_MainIBLL = new Ask_MainBLL();


+ 2
- 1
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Web.config View File

@@ -26,8 +26,9 @@
-->
<system.web>
<compilation debug="true" targetFramework="4.6.1" />
<httpRuntime />
<pages controlRenderingCompatibilityVersion="4.0" />
<!--最大请求长度,单位为KB(千字节),默认为4M,设置为1G,上限为2G -->
<httpRuntime maxRequestLength="1048576" executionTimeout="3600" />
<httpHandlers>
<add verb="*" type="Nancy.Hosting.Aspnet.NancyHttpRequestHandler" path="*" />
</httpHandlers>


Loading…
Cancel
Save