作者 lyh

gx脚本

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