ソースを参照

绑定时间设为null

DuGuYang 3 年 前
コミット
8f7285a2b7
1 ファイル変更1 行追加1 行削除
  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();