瀏覽代碼

送礼物反向优化,plantask增速

lizhen_gitee 1 年之前
父節點
當前提交
4484a29841
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/index/controller/Plantask.php

+ 1 - 1
application/index/controller/Plantask.php

@@ -178,7 +178,7 @@ class Plantask extends Controller
             }
 
             //结束
-            $rs_up = Db::name('gift_user_party')->where('id','IN',$party_ids)->update(['task_status'=>1]);
+            $rs_up = Db::name('gift_user_party')->where('party_id','IN',$party_ids)->update(['task_status'=>1]);
 
             Db::commit();
         } catch (ValidateException $e) {