|
...
|
...
|
@@ -61,8 +61,8 @@ class SyncInquiryProject extends Command |
|
|
|
*/
|
|
|
|
public function handle()
|
|
|
|
{
|
|
|
|
// $this->output('开始同步v5');
|
|
|
|
// $this->syncGloV5();
|
|
|
|
$this->output('开始同步v5');
|
|
|
|
$this->syncGloV5();
|
|
|
|
$this->output('开始同步v6');
|
|
|
|
$this->syncGloV6();
|
|
|
|
return true;
|
|
...
|
...
|
@@ -179,7 +179,7 @@ class SyncInquiryProject extends Command |
|
|
|
}
|
|
|
|
|
|
|
|
$project = InquiryProject::saveProject($date, InquiryProject::VERSION_SIX, $val->id, $val->title, $val->channel['channel_id'], 'https://' . $domain . '/', $recent_inquiry, $val->inquiry_prompt ?? '');
|
|
|
|
// $this->pushTask($project->id);
|
|
|
|
$this->pushTask($project->id);
|
|
|
|
}
|
|
|
|
|
|
|
|
$ids = InquiryProject::where('date', '<', $date)->where('version', '=', InquiryProject::VERSION_SIX)->pluck('id')->toArray();
|
...
|
...
|
|