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 @@ - +