正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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'=>' ']); |
-
请 注册 或 登录 后发表评论