Forráskód Böngészése

Merge branch 'feat-lcl-盒易付POS通道切换' of kxs-end/main-server into release-mainserver

lichunlei 1 éve
szülő
commit
edde9f174f
1 módosított fájl, 4 hozzáadás és 4 törlés
  1. 4 4
      AppStart/PosChannelHelper.cs

+ 4 - 4
AppStart/PosChannelHelper.cs

@@ -59,9 +59,9 @@ public class PosChannelHelper
                 JsonData jsonData = JsonMapper.ToObject(jsonString);
                 if(jsonData["resultCode"].ToString() == "1")
                 {
-                    // string acqInstId = jsonData["data"]["acqInstId"].ToString();
-                    // if(sub.ChannelNo == acqInstId)
-                    // {
+                    string acqInstId = jsonData["data"]["acqInstId"].ToString();
+                    if(sub.ChannelNo == acqInstId)
+                    {
                         PosChannelSetRecord edit = db.PosChannelSetRecord.FirstOrDefault(m => m.Id == sub.Id);
                         if(edit != null)
                         {
@@ -70,7 +70,7 @@ public class PosChannelHelper
                             PosSnList += edit.PosSn + ",";
                             PassCount += 1;
                         }
-                    // }
+                    }
                 }
             }
             if(PassCount >= list.Count)