合并分支 'akun' 到 'master'
Akun 查看合并请求 !266
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -66,7 +66,7 @@ class HtmlLanguageSpecialCollect extends Command | @@ -66,7 +66,7 @@ class HtmlLanguageSpecialCollect extends Command | ||
| 66 | //设置数据库 | 66 | //设置数据库 |
| 67 | $project = ProjectServer::useProject($project_id); | 67 | $project = ProjectServer::useProject($project_id); |
| 68 | if ($project) { | 68 | if ($project) { |
| 69 | - $collect_info = CollectTask::select(['id', 'domain', 'route', 'language'])->where('id', $collect_id)->where('status', CollectTask::STATUS_UN)->where('language', '!=', '')->first(); | 69 | + $collect_info = CollectTask::select(['id', 'domain', 'route', 'language'])->where('id', $collect_id)->where('status', CollectTask::STATUS_UN)->where('language', '=', '')->first(); |
| 70 | 70 | ||
| 71 | if (!$collect_info) { | 71 | if (!$collect_info) { |
| 72 | sleep(2); | 72 | sleep(2); |
| @@ -138,7 +138,7 @@ class HtmlLanguageSpecialCollect extends Command | @@ -138,7 +138,7 @@ class HtmlLanguageSpecialCollect extends Command | ||
| 138 | } | 138 | } |
| 139 | 139 | ||
| 140 | 140 | ||
| 141 | - $update_log = UpdateLog::where('status', UpdateLog::STATUS_COM)->where('collect_status', '>', UpdateLog::COLLECT_STATUS_MAIN)->orderBy('collect_status', 'asc')->first(); | 141 | + $update_log = UpdateLog::where('project_id',555)->where('status', UpdateLog::STATUS_COM)->where('collect_status', '>', UpdateLog::COLLECT_STATUS_MAIN)->orderBy('collect_status', 'asc')->first(); |
| 142 | if (!$update_log) { | 142 | if (!$update_log) { |
| 143 | return false; | 143 | return false; |
| 144 | } | 144 | } |
-
请 注册 或 登录 后发表评论