From 7578f033179ea0fa21cc5f24cca56efbcff35326 Mon Sep 17 00:00:00 2001 From: liangkun Date: Fri, 2 Sep 2022 18:13:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=BE=93=E5=87=BAimgurl?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E5=88=B0data=E5=86=85=EF=BC=8Ccontent=20qrco?= =?UTF-8?q?de=E7=9A=84config=E8=B7=AF=E5=BE=84=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs | 5 +++-- .../Learun.Application.WebApi/Modules/StuPayFeeApi.cs | 5 +++-- .../Learun.Application.WebApi/XmlConfig/system.config | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs index 961802cc4..17df4cad1 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuFreshPayFeeApi.cs @@ -162,7 +162,8 @@ namespace Learun.Application.WebApi.Modules stuInfoFreshIBLL.SaveFeeData(keyValue, model, list); } - return Success(imgUrl); + var backimgUrl = new { imgUrl }; + return Success(backimgUrl); } public class JsonBean @@ -213,7 +214,7 @@ namespace Learun.Application.WebApi.Modules } //图片控件要显示的二维码图片路径 - return QRCodeFile + "/Content/images/QRCode/" + filename + ".jpg"; + return "/Content/images/QRCode/" + filename + ".jpg"; } } } \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs index 52cc62442..b20e0f408 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/StuPayFeeApi.cs @@ -158,7 +158,8 @@ namespace Learun.Application.WebApi.Modules stuInfoFreshIBLL.SaveFeeData(keyValue, model, list); } - return Success(imgUrl); + var backimgUrl = new{ imgUrl }; + return Success(backimgUrl); } public class JsonBean @@ -209,7 +210,7 @@ namespace Learun.Application.WebApi.Modules } //图片控件要显示的二维码图片路径 - return QRCodeFile + "/Content/images/QRCode/" + filename + ".jpg"; + return "/Content/images/QRCode/" + filename + ".jpg"; } } } \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/system.config b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/system.config index 39f36d613..a0013c63b 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/system.config +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/XmlConfig/system.config @@ -66,7 +66,7 @@ - +