Browse Source

微信进件保存applyment_id字段

lichunlei 3 years ago
parent
commit
5c1cab0382
1 changed files with 2 additions and 0 deletions
  1. 2 0
      AppStart/Helper/MerchantConfirmService.cs

+ 2 - 0
AppStart/Helper/MerchantConfirmService.cs

@@ -37,6 +37,8 @@ namespace MySystem
                     if (result.Contains("\"applyment_id\":"))
                     {
                         JsonData jsonObj = JsonMapper.ToObject(result);
+                        AddInfo.ApplymentId = jsonObj["applyment_id"].ToString();
+                        db.SaveChanges();
                         List<MerchantSign> signs = TendisDbconn.Instance.GetList<MerchantSign>("MerchantSignList", 1, 10000000);
                         bool op = signs.Any(m => m.BusinessCode == BusinessCode);
                         if (!op)