diff --git a/Application/Admin/Model/UserModel.class.php b/Application/Admin/Model/UserModel.class.php index fbb262426..865e89158 100644 --- a/Application/Admin/Model/UserModel.class.php +++ b/Application/Admin/Model/UserModel.class.php @@ -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;