songxingwei 2 年之前
父節點
當前提交
7b1afb2b0b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/data/service/UserAdminService.php

+ 1 - 1
app/data/service/UserAdminService.php

@@ -88,7 +88,7 @@ class UserAdminService extends Service
         $user = DataUser::mk()
             ->where($map)
             ->with(['pooltalent'=>function($query){
-                $query->with(['zc'=>function($q){
+                $query->order('id desc')->with(['zc'=>function($q){
                     $q->field('id,name');
                 },'gzll']);
             },'maintenance','shipyard','merchants'])