Bladeren bron

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

master
liangkun 3 jaren geleden
bovenliggende
commit
55534e1d19
3 gewijzigde bestanden met toevoegingen van 4 en 3 verwijderingen
  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 Bestand weergeven

@@ -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 Bestand weergeven

@@ -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 Bestand weergeven

@@ -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="*" />


Laden…
Annuleren
Opslaan