فهرست منبع

修复消费者-支付接口

lcl 1 سال پیش
والد
کامیت
280cae45a0

+ 1 - 2
AppStart/Redis/Mysql/PosMachinesTwoDbconn.cs

@@ -25,8 +25,7 @@ namespace MySystem
         public PosMachinesTwo Get(string PosSn)
         {
             WebCMSEntities db = new WebCMSEntities();
-            MachineForSnNo machineFor = db.MachineForSnNo.FirstOrDefault(m => m.SnNo == PosSn) ?? new MachineForSnNo();
-            PosMachinesTwo order = db.PosMachinesTwo.FirstOrDefault(m => m.Id == machineFor.SnId);
+            PosMachinesTwo order = db.PosMachinesTwo.FirstOrDefault(m => m.PosSn == PosSn);
             if (order != null)
             {
             }

+ 1 - 0
Areas/Api/Controllers/v1/MainServer/ConsumerOrdersController.cs

@@ -233,6 +233,7 @@ namespace MySystem.Areas.Api.Controllers.v1
                 value = sr.ReadToEnd();
                 value = value.Split('=')[1];
             }
+            // value = "BplaaoWS0BIaiDoBUavO7+V+TuwfZwqMyMceCjNxKX8WAdNPI4nbsWRweXeisqtFeVwrmUBHvii5+aPGmATw35XnmHbnPfOGcFGStB89zjssftNRosanfYpr1rdYgcaxNuBw2fpAL4HNV9eTFyRdWsJADF+tD4dTSkfh/VK2od4Ze4coidlUyA==";
             value = DesDecrypt(value);
             JsonData data = JsonMapper.ToObject(value);
             AppResultJson result = PayDo(value);