作者 李宇航

合并分支 'master-server' 到 'master'

gx脚本



查看合并请求 !1226
@@ -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.'、';