|
...
|
...
|
@@ -53,7 +53,7 @@ class InitKeyword extends Command |
|
|
|
$list = NoticeLog::where('type', NoticeLog::TYPE_INIT_KEYWORD)->where('status', NoticeLog::STATUS_PENDING)->get();
|
|
|
|
if(!empty($list)){
|
|
|
|
foreach ($list as $item){
|
|
|
|
echo 'start:' . $item['id'] . PHP_EOL;
|
|
|
|
echo 'start:' . $item['data']['project_id'] . PHP_EOL;
|
|
|
|
ProjectServer::useProject($item['data']['project_id']);
|
|
|
|
$keywordModel = new Keyword();
|
|
|
|
$list = $keywordModel->list(['route'=>' ']);
|
...
|
...
|
|