...
|
...
|
@@ -191,7 +191,7 @@ class User extends Api |
|
|
$user['identity'] = 1;
|
|
|
} else {
|
|
|
// 社区管理员管理多个小区
|
|
|
$info = HouseAdminModel::get($house['admin_user_id']);
|
|
|
$info = HouseAdminModel::get(['id'=>$house['admin_user_id'],'user_id'=>$this->auth->id]);
|
|
|
$user['identity'] = $info ? 1 : 0;
|
|
|
}
|
|
|
$this->success('成功', array_merge($user,$data));
|
...
|
...
|
|