lcl пре 1 година
родитељ
комит
23175c971c
1 измењених фајлова са 27 додато и 27 уклоњено
  1. 27 27
      Controllers/HomeController.cs

+ 27 - 27
Controllers/HomeController.cs

@@ -27,9 +27,9 @@ namespace MySystem.Controllers
         public string test()
         {
             testReq("http://idc.pay-api.top/idc-push-api/third/1050056/1560192687980675072/1", "bind_merchant");
-            testReq("http://idc.pay-api.top/idc-push-api/third/1050056/1560192687980675072/8", "un_bind_merchant");
-            testReq("http://idc.pay-api.top/idc-push-api/third/1050056/1560192687980675072/236", "change_bind_merchant");
-            testReq("http://idc.pay-api.top/idc-push-api/third/1050056/1560192687980675072/4", "sim_charge");
+            // testReq("http://idc.pay-api.top/idc-push-api/third/1050056/1560192687980675072/8", "un_bind_merchant");
+            // testReq("http://idc.pay-api.top/idc-push-api/third/1050056/1560192687980675072/236", "change_bind_merchant");
+            // testReq("http://idc.pay-api.top/idc-push-api/third/1050056/1560192687980675072/4", "sim_charge");
             testReq("http://idc.pay-api.top/idc-push-api/third/1050056/1560192687980675072/3", "service_fee");
             testReq("http://idc.pay-api.top/idc-push-api/third/1050056/1560192687980675072/2", "trade");
             return "ok";
@@ -63,15 +63,15 @@ namespace MySystem.Controllers
         private SortedList<string, string> bind_merchant()
         {
             SortedList<string, string> obj = new SortedList<string, string>();
-            obj.Add("phone", "135****6666");
-            obj.Add("name", "张**");
-            obj.Add("supplement_info", "4307************48");
-            obj.Add("agent_id", "88880019");
-            obj.Add("merch_no", "LKB50009993529999");
-            obj.Add("pos_sn", "LKB1888888");
-            obj.Add("device_model", "N101");
-            obj.Add("term_to", "L4859999");
-            obj.Add("bind_time", "2019-03-12 22:21:50");
+            obj.Add("phone", "**********");
+            obj.Add("name", "杨洪江");
+            obj.Add("supplement_info", "533022********2015");
+            obj.Add("agent_id", "039034");
+            obj.Add("merch_no", "039331007177057");
+            obj.Add("pos_sn", "00005702280118855803");
+            obj.Add("device_model", "盒易付H版");
+            obj.Add("term_to", "");
+            obj.Add("bind_time", "2023-12-14 16:32:38");
             return obj;
         }
 
@@ -118,29 +118,29 @@ namespace MySystem.Controllers
         private SortedList<string, string> service_fee()
         {
             SortedList<string, string> obj = new SortedList<string, string>();
-            obj.Add("merch_no", "LKB50009993529999");
-            obj.Add("agent_id", "88880019");
-            obj.Add("pos_sn", "LD188FBMS78888");
-            obj.Add("order_id", "2024190320190312222130116666");
-            obj.Add("amount", "9900");
-            obj.Add("trans_time", "2024-03-12 22:23:02");
+            obj.Add("merch_no", "039331007177057");
+            obj.Add("agent_id", "039034");
+            obj.Add("pos_sn", "00005702280118855803");
+            obj.Add("order_id", "20231214H00040601976Y");
+            obj.Add("amount", "299.00");
+            obj.Add("trans_time", "2023-12-14 16:39:43");
             return obj;
         }
 
         private SortedList<string, string> trade()
         {
             SortedList<string, string> obj = new SortedList<string, string>();
-            obj.Add("agent_id", "88880019");
-            obj.Add("order_id", "2024010420191016203820115800");
-            obj.Add("trans_id", "2024010420191016203820115800");
-            obj.Add("merch_no", "LKB50009993529999");
-            obj.Add("term_no", "M4859999");
-            obj.Add("pos_sn", "LD188FBMS78888");
-            obj.Add("amount", "000000099910");
-            obj.Add("trans_time", "20190312222421");
+            obj.Add("agent_id", "039034");
+            obj.Add("order_id", "20231214H00040608996Y");
+            obj.Add("trans_id", "20231214H00040608996Y");
+            obj.Add("merch_no", "039331007177057");
+            obj.Add("term_no", "");
+            obj.Add("pos_sn", "00005702280118855803");
+            obj.Add("amount", "1025.00");
+            obj.Add("trans_time", "2023-12-14 16:54:17");
             obj.Add("ret_code", "00");
             obj.Add("ret_msg", "交易成功");
-            obj.Add("fee_amount", "4499");
+            obj.Add("fee_amount", "6.15");
             obj.Add("pay_type", "0");
             obj.Add("card_type", "C");
             obj.Add("trans_type", "31");