作者 lyh

gx

... ... @@ -150,9 +150,9 @@ class ComController extends BaseController
$arr = [];
foreach ($data as $k => $v){
if(isset($arr[$v['country']])){
$arr[$v['country']]['num']++;
$arr[$v['country']]++;
}else{
$arr[$v['country']]['num'] = 0;
$arr[$v['country']] = 0;
}
}
return $arr;
... ...