|
@@ -88,7 +88,9 @@ class UserAdminService extends Service
|
|
|
$user = DataUser::mk()
|
|
|
->where($map)
|
|
|
->with(['pooltalent'=>function($query){
|
|
|
- $query->with('zc');
|
|
|
+ $query->with(['zc'=>function($q){
|
|
|
+ $q->filed('id,name');
|
|
|
+ }]);
|
|
|
},'maintenance','shipyard','merchants'])
|
|
|
->findOrEmpty();
|
|
|
if ($user->isEmpty()) throw new Exception('用户还没有注册!');
|