正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -152,7 +152,7 @@ class CountLogic extends BaseLogic | @@ -152,7 +152,7 @@ class CountLogic extends BaseLogic | ||
| 152 | public function access_country_count(){ | 152 | public function access_country_count(){ |
| 153 | $data = DB::table('gl_customer_visit') | 153 | $data = DB::table('gl_customer_visit') |
| 154 | ->select('country',DB::raw('COUNT(*) as ip'),DB::raw('SUM(depth) as pv')) | 154 | ->select('country',DB::raw('COUNT(*) as ip'),DB::raw('SUM(depth) as pv')) |
| 155 | - ->groupBy('country')->where(['domain'=>$this->project['deploy_build']['test_domain']]) | 155 | + ->groupBy('country')->where(['domain'=>'http://lxl.petuu.shop/']) |
| 156 | ->orderBy('ip','desc')->limit(10)->get()->toArray(); | 156 | ->orderBy('ip','desc')->limit(10)->get()->toArray(); |
| 157 | if(!empty($data)){ | 157 | if(!empty($data)){ |
| 158 | $data = object_to_array($data); | 158 | $data = object_to_array($data); |
-
请 注册 或 登录 后发表评论