Parcourir la source

支付结果通知测试

西昌缴费二期
liangkun il y a 2 ans
Parent
révision
e96d3636f0
2 fichiers modifiés avec 12 ajouts et 5 suppressions
  1. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs
  2. +9
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/PayResultNoticeController.cs

+ 3
- 3
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuInfoFreshController.cs Voir le fichier

@@ -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";


+ 9
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/PayResultNoticeController.cs Voir le fichier

@@ -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");
}
}
}

Chargement…
Annuler
Enregistrer