作者 lyh

gx

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