Browse Source

提交意愿申请重置对应参数值

DuGuYang 1 year ago
parent
commit
402c487bdd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Areas/Api/Controllers/v1/Main2/MerchantAddInfoController.cs

+ 2 - 0
Areas/Api/Controllers/v1/Main2/MerchantAddInfoController.cs

@@ -335,6 +335,7 @@ namespace MySystem.Areas.Api.Controllers.v1.Main2
             merAddInfo.ApplymentId = null;
             merAddInfo.WeChatSignUrl = null;
             merInfo.Status = 0;
+            main2db.SaveChanges();
             RedisDbconn.Instance.AddList("WeChatForHaoDaQueue", id.ToString());
             return new AppResultJson() { Status = "1", Info = "", Data = Obj };
         }
@@ -364,6 +365,7 @@ namespace MySystem.Areas.Api.Controllers.v1.Main2
             merAddInfo.SeoTitle = null;
             merAddInfo.AlipaySignUrl = null;
             merInfo.QueryCount = 0;
+            main2db.SaveChanges();
             RedisDbconn.Instance.AddList("AlipayForHaoDaQueue", id.ToString());
             return new AppResultJson() { Status = "1", Info = "", Data = Obj };
         }