正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -79,7 +79,7 @@ class MonthReportController extends BaseController | @@ -79,7 +79,7 @@ class MonthReportController extends BaseController | ||
| 79 | $newsModel = new News(); | 79 | $newsModel = new News(); |
| 80 | $info['news_num'] = $newsModel->formatQuery(['status'=>0])->count(); | 80 | $info['news_num'] = $newsModel->formatQuery(['status'=>0])->count(); |
| 81 | $info['news_num_last_7'] = $newsModel->formatQuery( | 81 | $info['news_num_last_7'] = $newsModel->formatQuery( |
| 82 | - ['status'=>1,'created_at'=>['between',[now()->subDays(7)->startOfDay()->toDateString(),now()->startOfDay()->toDateString()]] | 82 | + ['status'=>0,'created_at'=>['between',[now()->subDays(7)->startOfDay()->toDateString(),now()->startOfDay()->toDateString()]] |
| 83 | ])->count(); | 83 | ])->count(); |
| 84 | $info['speed'] = round((0.3 + mt_rand()/mt_getrandmax() * (1-0.3)),2); | 84 | $info['speed'] = round((0.3 + mt_rand()/mt_getrandmax() * (1-0.3)),2); |
| 85 | $this->response('success',Code::SUCCESS,$info); | 85 | $this->response('success',Code::SUCCESS,$info); |
-
请 注册 或 登录 后发表评论