合并分支 'master-server' 到 'master'
gx脚本 查看合并请求 !1226
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -228,8 +228,8 @@ class DownloadProject extends Command | @@ -228,8 +228,8 @@ class DownloadProject extends Command | ||
| 228 | } | 228 | } |
| 229 | if(!empty($data['inquiry_country'])){ | 229 | if(!empty($data['inquiry_country'])){ |
| 230 | $data['inquiry_country'] = json_decode($data['inquiry_country']); | 230 | $data['inquiry_country'] = json_decode($data['inquiry_country']); |
| 231 | - arsort($data); | ||
| 232 | - $data['inquiry_country'] = array_slice($data, 0, 4, true); | 231 | + arsort($data['inquiry_country']); |
| 232 | + $data['inquiry_country'] = array_slice($data['inquiry_country'], 0, 4, true); | ||
| 233 | $country = ''; | 233 | $country = ''; |
| 234 | foreach ($data['inquiry_country'] as $k => $v){ | 234 | foreach ($data['inquiry_country'] as $k => $v){ |
| 235 | $country .= $k.'、'; | 235 | $country .= $k.'、'; |
-
请 注册 或 登录 后发表评论