onlinetest 4 年之前
父節點
當前提交
768564fd4d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Jobs/Push/NewUserPushMsgDelay.php

+ 1 - 0
app/Jobs/Push/NewUserPushMsgDelay.php

@@ -59,6 +59,7 @@ class NewUserPushMsgDelay implements ShouldQueue
         foreach ($tasks as $task) {
         foreach ($tasks as $task) {
             $job = new NewUserPushMsg($this->uid, $task);
             $job = new NewUserPushMsg($this->uid, $task);
             dispatch($job)->onConnection('rabbitmq')->onQueue('new_user_push_msg')->delay($task->time_delay);
             dispatch($job)->onConnection('rabbitmq')->onQueue('new_user_push_msg')->delay($task->time_delay);
+            myLog('new_user_push_msg')->info("task_id:{$task->id}; uid: {$this->uid}");
         }
         }
     }
     }
 }
 }