作者 lyh

gx

@@ -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 }