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