作者 lyh

gx

@@ -66,8 +66,10 @@ class UpgradeProjectCount extends Command @@ -66,8 +66,10 @@ class UpgradeProjectCount extends Command
66 if(isset($res['data']['count'])){ 66 if(isset($res['data']['count'])){
67 $arr['month_total'] = $res['data']['count']; 67 $arr['month_total'] = $res['data']['count'];
68 } 68 }
  69 + if(isset($res['data']['data'])){
  70 + $arr['country'] = $res['data']['data'];
  71 + }
69 $arr['month'] = $v['month']; 72 $arr['month'] = $v['month'];
70 - $arr['country'] = '{"\u5c3c\u65e5\u5229\u4e9a":1,"\u5370\u5ea6\u5c3c\u897f\u4e9a":1,"\u4f0a\u6717":1}';  
71 $arr = $this->pv_ip($arr,$start,$end); 73 $arr = $this->pv_ip($arr,$start,$end);
72 $arr = $this->sourceCount($arr,$start,$end); 74 $arr = $this->sourceCount($arr,$start,$end);
73 if($info === false){ 75 if($info === false){