正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -35,7 +35,7 @@ class CountController extends BaseController | @@ -35,7 +35,7 @@ class CountController extends BaseController | ||
| 35 | //TODO::30天pv,ip统计 | 35 | //TODO::30天pv,ip统计 |
| 36 | $data['visit_data'] = $countLogic->visit_data_count(); | 36 | $data['visit_data'] = $countLogic->visit_data_count(); |
| 37 | //TODO::询盘国家统计 | 37 | //TODO::询盘国家统计 |
| 38 | - $data['country_data'] = json_decode($data['yesterday']['country']) ?? ''; | 38 | + $data['country_data'] = isset($data['yesterday']['country']) ? json_decode($data['yesterday']['country']) : ''; |
| 39 | //TODO::来源排名 | 39 | //TODO::来源排名 |
| 40 | $data['referrer_count'] = $countLogic->referrer_count(); | 40 | $data['referrer_count'] = $countLogic->referrer_count(); |
| 41 | //TODO::访问国家前10 | 41 | //TODO::访问国家前10 |
-
请 注册 或 登录 后发表评论