|
@@ -622,9 +622,9 @@ class UserController
|
|
|
$user = User::get($uid);
|
|
|
if (!$user) return app('json')->fail('用户不存在');
|
|
|
|
|
|
- $A_user = User::where('parent', $uid)->where('parent_area', 'A')->field('uid,nickname')->find();
|
|
|
- $B_user = User::where('parent', $uid)->where('parent_area', 'B')->field('uid,nickname')->find();
|
|
|
- $C_user = User::where('parent', $uid)->where('parent_area', 'C')->field('uid,nickname')->find();
|
|
|
+ $A_user = User::where('parent', $uid)->where('parent_area', 'A')->find();
|
|
|
+ $B_user = User::where('parent', $uid)->where('parent_area', 'B')->find();
|
|
|
+ $C_user = User::where('parent', $uid)->where('parent_area', 'C')->find();
|
|
|
|
|
|
return app('json')->success([
|
|
|
'A' => $A_user,
|