作者 刘锟

update

@@ -172,8 +172,8 @@ class SyncInquiryProject extends Command @@ -172,8 +172,8 @@ class SyncInquiryProject extends Command
172 ProjectServer::useProject($val->id); 172 ProjectServer::useProject($val->id);
173 173
174 //排除白帽个人服务器项目 174 //排除白帽个人服务器项目
175 - $seo_type = WebSetting::where('project_id', $val->id)->value('seo_type');  
176 - if ($seo_type == 2) { 175 + $web_setting = WebSetting::where('project_id', $val->id)->first();
  176 + if (isset($web_setting->seo_type) && $web_setting->seo_type == 2) {
177 DB::disconnect('custom_mysql'); 177 DB::disconnect('custom_mysql');
178 continue; 178 continue;
179 } 179 }