From e96d3636f0f076fd7332c77312b460dd97eb8e4f Mon Sep 17 00:00:00 2001 From: liangkun Date: Thu, 14 Jul 2022 18:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E7=BB=93=E6=9E=9C=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/StuInfoFreshController.cs | 6 +++--- .../Controllers/PayResultNoticeController.cs | 11 +++++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs index a98ea19b1..8707ed481 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs @@ -1247,9 +1247,9 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers var model = stuInfoFreshIBLL.GetStuInfoFreshEntity(keyValue); var imgUrl = ""; Random ran = new Random(); - string merchantid = "105000082201406";//UAT--可用防钓鱼接口 - string posid = "043724806";//分行代码 - string branchid = "510000000"; + string merchantid = "105000082201406";//商户号 + string posid = "043724806";//商户柜台代码 + string branchid = "510000000";//分行代码 string orderid = DateTime.Now.ToString("yyyyMMddhhmmss") + ran.Next(0, 100000); string payment = entity.PayMoney.ToString(); string curcode = "01"; diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/PayResultNoticeController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/PayResultNoticeController.cs index 2065b2ee4..cd7476e51 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/PayResultNoticeController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/PayResultNoticeController.cs @@ -4,6 +4,8 @@ using System.Linq; using System.Web; using System.Web.Mvc; using CCBSign; +using Learun.Application.Base.SystemModule; +using Learun.Loger; using Learun.Util; namespace Learun.Application.Web.Controllers @@ -47,8 +49,13 @@ namespace Learun.Application.Web.Controllers string USRINFO = Request["USRINFO"]; string PAYTYPE = Request["PAYTYPE"]; string SIGN = Request["SIGN"]; - - return Content(new { ORDERID, ACC_TYPE, SUCCESS, TYPE, REFERER, CLIENTIP, ACCDATE, USRMSG, USRINFO, PAYTYPE, SIGN }.ToJson()); + LogEntity logEntity=new LogEntity(); + logEntity.F_CategoryId = 121; + logEntity.F_Module = "cbc"; + logEntity.F_ExecuteResultJson = new + {ORDERID, ACC_TYPE, SUCCESS, TYPE, REFERER, CLIENTIP, ACCDATE, USRMSG, USRINFO, PAYTYPE, SIGN}.ToJson(); + logEntity.WriteLog(); + return Content("true"); } } } \ No newline at end of file