正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -138,7 +138,7 @@ class InquiryMonthlyCount extends Command | @@ -138,7 +138,7 @@ class InquiryMonthlyCount extends Command | ||
| 138 | ->orderBy('ip','desc')->limit(15)->get()->toArray(); | 138 | ->orderBy('ip','desc')->limit(15)->get()->toArray(); |
| 139 | $arr['source_country'] = json_encode($source_country); | 139 | $arr['source_country'] = json_encode($source_country); |
| 140 | //受访界面前15 | 140 | //受访界面前15 |
| 141 | - $referrer_url = DB::table('gl_customer_visit_item') | 141 | + $referrer_url = DB::table('gl_customer_visit') |
| 142 | ->select('url',DB::raw('COUNT(*) as num')) | 142 | ->select('url',DB::raw('COUNT(*) as num')) |
| 143 | ->orderBy('num','desc')->where(['domain'=>$domain]) | 143 | ->orderBy('num','desc')->where(['domain'=>$domain]) |
| 144 | ->where('updated_date','>=',$startTime->toDateString()) | 144 | ->where('updated_date','>=',$startTime->toDateString()) |
| @@ -147,7 +147,7 @@ class InquiryMonthlyCount extends Command | @@ -147,7 +147,7 @@ class InquiryMonthlyCount extends Command | ||
| 147 | ->limit(15)->get()->toArray(); | 147 | ->limit(15)->get()->toArray(); |
| 148 | $arr['referrer_url'] = json_encode($referrer_url); | 148 | $arr['referrer_url'] = json_encode($referrer_url); |
| 149 | //访问端口 | 149 | //访问端口 |
| 150 | - $referrer_port = DB::table('gl_customer_visit_item') | 150 | + $referrer_port = DB::table('gl_customer_visit') |
| 151 | ->select('device_port',DB::raw('COUNT(*) as num')) | 151 | ->select('device_port',DB::raw('COUNT(*) as num')) |
| 152 | ->orderBy('num','desc')->where(['domain'=>$domain]) | 152 | ->orderBy('num','desc')->where(['domain'=>$domain]) |
| 153 | ->where('updated_date','>=',$startTime->toDateString()) | 153 | ->where('updated_date','>=',$startTime->toDateString()) |
-
请 注册 或 登录 后发表评论