作者 张关杰

Merge branch 'develop' of http://47.244.231.31:8099/zhl/globalso-v6 into develop

... ... @@ -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])
... ...