Przeglądaj źródła

问卷调查手机端提交数据get改post

master
liangkun 3 lat temu
rodzic
commit
55534e1d19
3 zmienionych plików z 4 dodań i 3 usunięć
  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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz