wangzq 2 년 전
부모
커밋
b4983959b9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/Http/Controllers/QuickApp/User/UserController.php

+ 1 - 0
app/Http/Controllers/QuickApp/User/UserController.php

@@ -390,6 +390,7 @@ class UserController extends BaseController
 
         // 琥珀阅读去除加桌任务
         if ($this->distribution_channel_id == 14903 && $new_user_tasks){
+            $new_user_tasks =  $new_user_tasks->toArray();
             foreach ($new_user_tasks as $key =>  $val){
                 if ($val->code == "add_desk"){
                     unset($new_user_tasks[$key]);