فهرست منبع

增加wifi解绑逻辑

lcl 1 ماه پیش
والد
کامیت
abfb52d3af
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. 8 0
      AppStart/Helper/SycnSpServer/SycnSpBindService.cs

+ 8 - 0
AppStart/Helper/SycnSpServer/SycnSpBindService.cs

@@ -48,6 +48,14 @@ namespace MySystem
                                     MerNo = Bind.MerNo,
                                     ProductType = Bind.ProductType,
                                 });
+
+                                //wifi解绑逻辑
+                                if(Utils.Instance.IsWifi(int.Parse(Bind.ProductType)))
+                                {
+                                    string fileName = function.MD5_16(Guid.NewGuid().ToString());
+                                    string content = "{\"posSn\":\"" + Bind.MerSnNo + "\"}";
+                                    RedisDbconn.Instance.AddList("kxs_unbindwifi_list", content + "#cut#" + fileName);
+                                }
                             }
                             else
                             {