Explorar o código

解绑删除绑定状态和时间

lcl %!s(int64=2) %!d(string=hai) anos
pai
achega
67ad3baab8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      AppStart/Helper/SycnSpServer/SycnSpBindService.cs

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

@@ -101,6 +101,8 @@ namespace MySystem
                                 if(merchant != null)
                                 {
                                     pos.BindMerchantId = 0;
+                                    pos.BindingState = 0;
+                                    pos.BindingTime = null;
                                     db.PosMerchantInfo.Remove(merchant);
                                     db.SaveChanges();
                                 }