作者 lyh

gx脚本

@@ -227,8 +227,10 @@ class DownloadProject extends Command @@ -227,8 +227,10 @@ class DownloadProject extends Command
227 $country .= $k.','; 227 $country .= $k.',';
228 }; 228 };
229 $country = trim($country,','); 229 $country = trim($country,',');
  230 + if(!empty($country)){
230 $content1 .= '询盘主要来源于'.$country.'等国家地区'; 231 $content1 .= '询盘主要来源于'.$country.'等国家地区';
231 } 232 }
  233 + }
232 $content1 .= '如有高质量客户,请您密切关注与跟进;'; 234 $content1 .= '如有高质量客户,请您密切关注与跟进;';
233 } 235 }
234 if(!empty($content1)){ 236 if(!empty($content1)){
@@ -178,8 +178,10 @@ class WeekProject extends Command @@ -178,8 +178,10 @@ class WeekProject extends Command
178 $country .= $k.','; 178 $country .= $k.',';
179 }; 179 };
180 $country = trim($country,','); 180 $country = trim($country,',');
  181 + if(!empty($country)){
181 $content1 .= '询盘主要来源于'.$country.'等国家地区'; 182 $content1 .= '询盘主要来源于'.$country.'等国家地区';
182 } 183 }
  184 + }
183 $content1 .= '如有高质量客户,请您密切关注与跟进;'; 185 $content1 .= '如有高质量客户,请您密切关注与跟进;';
184 } 186 }
185 if(!empty($content1)){ 187 if(!empty($content1)){