作者 lyh
@@ -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