正在显示
1 个修改的文件
包含
0 行增加
和
6 行删除
| @@ -43,12 +43,6 @@ class GeoQuestionRes extends Command | @@ -43,12 +43,6 @@ class GeoQuestionRes extends Command | ||
| 43 | */ | 43 | */ |
| 44 | public function handle() | 44 | public function handle() |
| 45 | { | 45 | { |
| 46 | - $project_id = GeoQuestion::where(['status' => GeoQuestion::STATUS_OPEN])->where('next_time', '<=', date('Y-m-d', strtotime('+2 day')))->value('project_id'); | ||
| 47 | - $ids = GeoQuestion::where(['project_id' => $project_id, 'status' => GeoQuestion::STATUS_OPEN])->where('current_time', '<>', date('Y-m-d', strtotime('-1 day')))->pluck('id'); | ||
| 48 | - foreach ($ids as $id) { | ||
| 49 | - dd($id); | ||
| 50 | - } | ||
| 51 | - dd(1); | ||
| 52 | while (true) { | 46 | while (true) { |
| 53 | $task_id = $this->getTaskId(); | 47 | $task_id = $this->getTaskId(); |
| 54 | if (empty($task_id)) { | 48 | if (empty($task_id)) { |
-
请 注册 或 登录 后发表评论