Explorar o código

绑定时间设为null

DuGuYang %!s(int64=3) %!d(string=hai) anos
pai
achega
8f7285a2b7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Areas/Admin/Controllers/MainServer/SysToolsController.cs

+ 1 - 1
Areas/Admin/Controllers/MainServer/SysToolsController.cs

@@ -2158,7 +2158,7 @@ namespace MySystem.Areas.Admin.Controllers
             });
             pos.BindMerchantId = 0;
             pos.BindingState = 0;
-            pos.BindingTime = DateTime.Parse("1900-01-01");
+            pos.BindingTime = null;
             pos.UserId = pos.BuyUserId;
             string IdBrand = pos.BuyUserId + "_" + pos.BrandId;
             db.SaveChanges();