Browse Source

2023-5-22-1 新增服务区-2

yingzi 1 year ago
parent
commit
5f655ec758
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/api/controller/User.php

+ 1 - 1
app/api/controller/User.php

@@ -174,8 +174,8 @@ class User extends BaseController
             ->where('parent_uid', '<>', 0)
             ->where('regtime', '>=', $time)
             ->where('regtime', '<=', $times)
-            ->group('parent_uid')
             ->field('parent_uid as uid, count(*) as invite_count')
+            ->group('parent_uid')
             ->order('invite_count', 'desc')
             ->select();
         $rankList = [];