作者 lyh
... ... @@ -87,9 +87,9 @@ class UpdateController extends BaseController
DB::disconnect('custom_mysql');
$update = ['collect_status' => 0];
if ($this->param['type'] == 2) {
$update['status'] = 0;
}
// if ($this->param['type'] == 2) {
// $update['status'] = 0;
// }
UpdateLog::where('project_id', $this->param['project_id'])->whereIn('api_type', ['post', 'page', 'news', 'blog'])->update($update);
... ...