Browse Source

【修改】移动端-在线缴费:缴费订单编号生成规则修改;

西昌分支
dyy 2 months ago
parent
commit
cdf24b231f
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/ReceiveSendFeeManagement/FinaChargeStuYearApi.cs

+ 6
- 2
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/ReceiveSendFeeManagement/FinaChargeStuYearApi.cs View File

@@ -107,6 +107,12 @@ namespace Learun.Application.WebApi.Modules
FinaChargeStuYearEntity entity = parameter.strEntity.ToObject<FinaChargeStuYearEntity>();
List<FinaChargeStuOrderDetailEntity> list = parameter.detailList.ToObject<List<FinaChargeStuOrderDetailEntity>>();
var imgUrl = "";
Random ran = new Random();
string orderid = DateTime.Now.ToString("yyyyMMddHHmmssffffff") + ran.Next(0, 100000);
if (finaChargeStuOrderIbll.GetEntityByorderid(orderid) != null)
{
return Fail("请刷新页面重试!");
}

//访问学校财务服务器
string payresulturl = Config.GetValue("payresulturl");
@@ -127,11 +133,9 @@ namespace Learun.Application.WebApi.Modules

try
{
Random ran = new Random();
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";
string txcode = "530550";


Loading…
Cancel
Save