From 55534e1d1910efdb1e48c827b481e77aa201333a Mon Sep 17 00:00:00 2001 From: liangkun Date: Mon, 25 Jan 2021 11:51:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E5=8D=B7=E8=B0=83=E6=9F=A5=E6=89=8B?= =?UTF-8?q?=E6=9C=BA=E7=AB=AF=E6=8F=90=E4=BA=A4=E6=95=B0=E6=8D=AEget?= =?UTF-8?q?=E6=94=B9post?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../www/pages/Ask/AskPaper/AskPaper.js | 2 +- .../Learun.Application.WebApi/Modules/AskApi.cs | 2 +- .../Learun.Application.WebApi/Web.config | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/AskPaper/AskPaper.js b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/AskPaper/AskPaper.js index f606e9a72..c13e98552 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/AskPaper/AskPaper.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Mobile/www/pages/Ask/AskPaper/AskPaper.js @@ -92,7 +92,7 @@ return } // return - learun.httpget(path + "/learun/ask/savepaper", + learun.httppost(path + "/learun/ask/savepaper", { VID: param.VID, LessonNo: param.LessonNo, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/AskApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/AskApi.cs index 48aea79c8..8848926ef 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/AskApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/AskApi.cs @@ -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(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Web.config b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Web.config index fdc15a6a0..9c48112fa 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Web.config +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Web.config @@ -26,7 +26,8 @@ --> - + +