作者 lyh

gx脚本

@@ -88,7 +88,7 @@ class MonthAllCount extends Command @@ -88,7 +88,7 @@ class MonthAllCount extends Command
88 $end = date('Y-m-t', strtotime($v['month'])); 88 $end = date('Y-m-t', strtotime($v['month']));
89 $arr['project_id'] = $project_id; 89 $arr['project_id'] = $project_id;
90 $res = $this->inquiry($url,$v['month']); 90 $res = $this->inquiry($url,$v['month']);
91 -// $arr['month_total'] = 0; 91 + $arr['total'] = 0;
92 if(isset($res['data']['count'])){ 92 if(isset($res['data']['count'])){
93 echo date('Y-m-d H:i:s') . '数据:'.$res['data']['count'] . PHP_EOL; 93 echo date('Y-m-d H:i:s') . '数据:'.$res['data']['count'] . PHP_EOL;
94 $arr['month_total'] = $res['data']['count']; 94 $arr['month_total'] = $res['data']['count'];