瀏覽代碼

增加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
                             {