浏览代码

金控解绑要标记sp

lichunlei 2 年之前
父节点
当前提交
a5e5598e79
共有 2 个文件被更改,包括 7 次插入0 次删除
  1. 6 0
      AppStart/Helper/SycnSpServer/SycnSpBindService.cs
  2. 1 0
      Controllers/HomeController.cs

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

@@ -87,6 +87,12 @@ namespace MySystem
                                 //         spdb.SaveChanges();
                                 //     }
                                 // }
+                                BindRecord edit = spdb.BindRecord.FirstOrDefault(m => m.Id == Bind.Id);
+                                if (edit != null)
+                                {
+                                    edit.Status = 2;
+                                    spdb.SaveChanges();
+                                }
                             }
                             else
                             {

+ 1 - 0
Controllers/HomeController.cs

@@ -799,6 +799,7 @@ namespace MySystem.Controllers
             return result;
         }
 
+        // 翻倍奖888
         public string prize888v2()
         {
             WebCMSEntities maindb = new WebCMSEntities();