合并分支 'master-server' 到 'master'
gx脚本 查看合并请求 !1277
正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -218,14 +218,14 @@ class DownloadProject extends Command | @@ -218,14 +218,14 @@ class DownloadProject extends Command | ||
| 218 | $content1 .= '本周新收 '.$data['week_inquiry_total'].' 封询盘。'; | 218 | $content1 .= '本周新收 '.$data['week_inquiry_total'].' 封询盘。'; |
| 219 | } | 219 | } |
| 220 | if(!empty($data['inquiry_country'])){ | 220 | if(!empty($data['inquiry_country'])){ |
| 221 | - $data['inquiry_country'] = json_decode($data['inquiry_country'],JSON_UNESCAPED_UNICODE); | 221 | + $data['inquiry_country'] = json_decode($data['inquiry_country'],true); |
| 222 | arsort($data['inquiry_country']); | 222 | arsort($data['inquiry_country']); |
| 223 | $data['inquiry_country'] = array_slice($data['inquiry_country'], 0, 4, true); | 223 | $data['inquiry_country'] = array_slice($data['inquiry_country'], 0, 4, true); |
| 224 | $country = ''; | 224 | $country = ''; |
| 225 | foreach ($data['inquiry_country'] as $k => $v){ | 225 | foreach ($data['inquiry_country'] as $k => $v){ |
| 226 | - $country .= $k.'、'; | 226 | + $country .= $k.','; |
| 227 | }; | 227 | }; |
| 228 | - $country = trim($country,'、'); | 228 | + $country = trim($country,','); |
| 229 | $content1 .= '询盘主要来源于'.$country.'等国家地区'; | 229 | $content1 .= '询盘主要来源于'.$country.'等国家地区'; |
| 230 | } | 230 | } |
| 231 | $content1 .= '如有高质量客户,请您密切关注与跟进;'; | 231 | $content1 .= '如有高质量客户,请您密切关注与跟进;'; |
-
请 注册 或 登录 后发表评论