正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -162,6 +162,7 @@ class MonthCountLogic extends BaseLogic | @@ -162,6 +162,7 @@ class MonthCountLogic extends BaseLogic | ||
| 162 | ->orderBy('ip','desc')->limit(15)->get()->toArray(); | 162 | ->orderBy('ip','desc')->limit(15)->get()->toArray(); |
| 163 | if(isset($this->project['is_record_china_visit']) && ($this->project['is_record_china_visit'] == 0)){ | 163 | if(isset($this->project['is_record_china_visit']) && ($this->project['is_record_china_visit'] == 0)){ |
| 164 | foreach ($source_country as $k => $v){ | 164 | foreach ($source_country as $k => $v){ |
| 165 | + $v = (array)$v; | ||
| 165 | if($v['country'] == '中国'){ | 166 | if($v['country'] == '中国'){ |
| 166 | unset($source_country[$k]); | 167 | unset($source_country[$k]); |
| 167 | } | 168 | } |
-
请 注册 或 登录 后发表评论