正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -87,9 +87,9 @@ class UpdateController extends BaseController | @@ -87,9 +87,9 @@ class UpdateController extends BaseController | ||
| 87 | DB::disconnect('custom_mysql'); | 87 | DB::disconnect('custom_mysql'); |
| 88 | 88 | ||
| 89 | $update = ['collect_status' => 0]; | 89 | $update = ['collect_status' => 0]; |
| 90 | - if ($this->param['type'] == 2) { | ||
| 91 | - $update['status'] = 0; | ||
| 92 | - } | 90 | +// if ($this->param['type'] == 2) { |
| 91 | +// $update['status'] = 0; | ||
| 92 | +// } | ||
| 93 | 93 | ||
| 94 | UpdateLog::where('project_id', $this->param['project_id'])->whereIn('api_type', ['post', 'page', 'news', 'blog'])->update($update); | 94 | UpdateLog::where('project_id', $this->param['project_id'])->whereIn('api_type', ['post', 'page', 'news', 'blog'])->update($update); |
| 95 | 95 |
-
请 注册 或 登录 后发表评论