|
@@ -89,9 +89,10 @@ class UserAdminService extends Service
|
|
|
->where($map)
|
|
|
->with(['pooltalent'=>function($query){
|
|
|
$query->with(['zc'=>function($q){
|
|
|
- $q->filed('id,name');
|
|
|
+ $q->field('id,name');
|
|
|
}]);
|
|
|
},'maintenance','shipyard','merchants'])
|
|
|
+
|
|
|
->findOrEmpty();
|
|
|
if ($user->isEmpty()) throw new Exception('用户还没有注册!');
|
|
|
// 用户认证令牌处理
|