后台-》统计-》流失分析优化

master
“用lww 5 years ago
parent 68b75f258c
commit 75e2eda083

@ -2096,7 +2096,7 @@ class UserModel extends Model{
->alias("r")
->field("GROUP_CONCAT(DISTINCT u.id) as user_ids,FROM_UNIXTIME(u.register_time+{$day}*86400, '%Y-%m-%d') as register_date")
->join("right join tab_user as u on r.user_id = u.id")
->group("r.user_id")
->group("register_date")
->where($map)
->select();
return $data;

Loading…
Cancel
Save