|
...
|
...
|
@@ -43,12 +43,6 @@ class GeoQuestionRes extends Command |
|
|
|
*/
|
|
|
|
public function handle()
|
|
|
|
{
|
|
|
|
$project_id = GeoQuestion::where(['status' => GeoQuestion::STATUS_OPEN])->where('next_time', '<=', date('Y-m-d', strtotime('+2 day')))->value('project_id');
|
|
|
|
$ids = GeoQuestion::where(['project_id' => $project_id, 'status' => GeoQuestion::STATUS_OPEN])->where('current_time', '<>', date('Y-m-d', strtotime('-1 day')))->pluck('id');
|
|
|
|
foreach ($ids as $id) {
|
|
|
|
dd($id);
|
|
|
|
}
|
|
|
|
dd(1);
|
|
|
|
while (true) {
|
|
|
|
$task_id = $this->getTaskId();
|
|
|
|
if (empty($task_id)) {
|
...
|
...
|
|