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