Browse Source

送礼物反向优化,plantask增速

lizhen_gitee 1 year ago
parent
commit
4484a29841
1 changed files with 1 additions and 1 deletions
  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) {