|
...
|
...
|
@@ -116,6 +116,7 @@ class MonthCountLogic extends BaseLogic |
|
|
|
*/
|
|
|
|
public function sourceCount(&$arr,$startTime,$endTime,$domain){
|
|
|
|
//访问来源前10
|
|
|
|
$domain = 'http://lxl.petuu.shop/';
|
|
|
|
$source = DB::table('gl_customer_visit')
|
|
|
|
->select('referrer_url', DB::raw('COUNT(*) as count'))
|
|
|
|
->groupBy('referrer_url')->where(['domain'=>$domain])
|
...
|
...
|
|