浏览代码

区分银联直连

DuGuYang 1 年之前
父节点
当前提交
b77d96fea3
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 二进制
      .DS_Store
  2. 2 2
      Areas/Api/Controllers/v1/MainServer/MerchantDepositOrderController.cs

二进制
.DS_Store


+ 2 - 2
Areas/Api/Controllers/v1/MainServer/MerchantDepositOrderController.cs

@@ -44,7 +44,7 @@ namespace MySystem.Areas.Api.Controllers.v1
             if (query.Id > 0)
             {
                 Dictionary<string, object> fields = new Dictionary<string, object>();
-                fields.Add("Sort", PayMode); //订单号
+                fields.Add("Sort", PayMode); //支付方式(1 支付宝)
                 MerchantDepositOrderService.Edit(fields, Id, false);
                 string PayData = "";
                 KxsMainModels.PublicAccountSet set = new AlipayFunctionForKxs(_accessor.HttpContext).SetData(MerchantId);
@@ -82,7 +82,7 @@ namespace MySystem.Areas.Api.Controllers.v1
             int MerchantId = int.Parse(function.CheckInt(data["MerchantId"].ToString())); //商户Id
             Dictionary<string, object> Obj = new Dictionary<string, object>();
             MerchantInfo merchant = new MerchantInfoService().Query(MerchantId);
-            string OrderNo = "SHJH" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8);
+            string OrderNo = "ZLJH" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8);
             string check = RedisDbconn.Instance.Get<string>("ConfirmOrder:" + MerchantId + "_" + OrderNo);
             if (!string.IsNullOrEmpty(check))
             {