Browse Source

等待立刷回馈

lcl 8 tháng trước cách đây
mục cha
commit
6f0ba7c8f4

+ 7 - 7
AppStart/Helper/PublicImportDataService.cs

@@ -524,14 +524,14 @@ namespace MySystem
             item.Add("fixed", "0");
             item.Add("rate", serviceRate);
             feeList.Add(item);
-            item = new Dictionary<string, object>();
-            item.Add("feeCalcType", "T0");
-            item.Add("fixed", "1");
-            item.Add("rate", serviceFee);
-            feeList.Add(item);
-            dic.Add("feeList", feeList);
+            // item = new Dictionary<string, object>();
+            // item.Add("feeCalcType", "T0");
+            // item.Add("fixed", "1");
+            // item.Add("rate", serviceFee);
+            // feeList.Add(item);
+            dic.Add("feeList", item);
             dic.Add("signMethod", "02");
-            string content = LiSAgentId + merchNo + sn + "M50" + serviceFee + "02";
+            string content = LiSAgentId + merchNo + sn + "M50" + serviceRate + "02";
             string signstr = LiSSign(content);
             dic.Add("signData", signstr);
             string req = Newtonsoft.Json.JsonConvert.SerializeObject(dic);

+ 2 - 2
Controllers/HomeController.cs

@@ -68,8 +68,8 @@ namespace MySystem.Controllers
 
             // return PublicImportDataService.Instance.QueryLiSDeposit("N00000D0022G499", "");
             // {"existsFlag":"1","feeList":[{"feeCalcType":"M1","fixed":"0","rate":"0.24"},{"feeCalcType":"M2","fixed":"0","rate":"0.24"},{"feeCalcType":"M3","fixed":"0","rate":"0.38"},{"feeCalcType":"M4","fixed":"0","rate":"2.63"},{"feeCalcType":"M5","fixed":"0","rate":"0.63"},{"feeCalcType":"M7","fixed":"0"},{"feeCalcType":"M8","fixed":"0"},{"feeCalcType":"M9","fixed":"0"},{"feeCalcType":"T0","fixed":"1","rate":"300"}],"merchNo":"N00000D0022G499","ret_code":"00","ret_msg":"请求成功"}
-            
-            return PublicImportDataService.Instance.SetLiSFee("N6220Y02172808", "N000M000519V817", "0.63");
+
+            return PublicImportDataService.Instance.SetLiSFee("N6220Y02172808", "N000M000519V817", "0.56", "300");
         }