正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -109,7 +109,7 @@ class MonthCount extends Command | @@ -109,7 +109,7 @@ class MonthCount extends Command | ||
| 109 | $end = date('Y-m-t', strtotime($v['month'])); | 109 | $end = date('Y-m-t', strtotime($v['month'])); |
| 110 | $arr['project_id'] = $project_id; | 110 | $arr['project_id'] = $project_id; |
| 111 | $res = $this->inquiry($url,$v['month']); | 111 | $res = $this->inquiry($url,$v['month']); |
| 112 | -// $arr['month_total'] = 0; | 112 | + $arr['total'] = $arr['month_total'] = 0; |
| 113 | if(isset($res['data']['count'])){ | 113 | if(isset($res['data']['count'])){ |
| 114 | echo date('Y-m-d H:i:s') . '数据:'.$res['data']['count'] . PHP_EOL; | 114 | echo date('Y-m-d H:i:s') . '数据:'.$res['data']['count'] . PHP_EOL; |
| 115 | $arr['month_total'] = $res['data']['count']; | 115 | $arr['month_total'] = $res['data']['count']; |
-
请 注册 或 登录 后发表评论