作者 刘锟

update

@@ -160,6 +160,17 @@ class HtmlCollect extends Command @@ -160,6 +160,17 @@ class HtmlCollect extends Command
160 //437项目单词替换 160 //437项目单词替换
161 $html = str_replace('Forenia', 'Tourle', $html); 161 $html = str_replace('Forenia', 'Tourle', $html);
162 } 162 }
  163 + if ($project_id == 565) {
  164 + //565项目单词替换
  165 + $html = str_replace('Screwfix', '', $html);
  166 + $html = str_replace('Fungsi', '', $html);
  167 + $html = str_replace('Turlen', '', $html);
  168 + }
  169 + if ($project_id == 2078) {
  170 + //2078项目单词替换
  171 + $html = str_replace('Broflanilide', '', $html);
  172 + $html = str_replace('broflanilide', '', $html);
  173 + }
163 $collect_info->html = $html; 174 $collect_info->html = $html;
164 $collect_info->status = CollectTask::STATUS_COM; 175 $collect_info->status = CollectTask::STATUS_COM;
165 $collect_info->save(); 176 $collect_info->save();
@@ -134,6 +134,10 @@ class ProjectUpdate extends Command @@ -134,6 +134,10 @@ class ProjectUpdate extends Command
134 //565项目单词替换 134 //565项目单词替换
135 $replace = ['Screwfix' => '', 'Fungsi' => '', 'Turlen' => '']; 135 $replace = ['Screwfix' => '', 'Fungsi' => '', 'Turlen' => ''];
136 } 136 }
  137 + if ($project_id == 2078) {
  138 + //2078项目单词替换
  139 + $replace = ['Broflanilide' => '', 'broflanilide' => ''];
  140 + }
137 141
138 //设置数据库 142 //设置数据库
139 $project = ProjectServer::useProject($project_id); 143 $project = ProjectServer::useProject($project_id);