...
|
...
|
@@ -91,7 +91,7 @@ class HouseAdmin extends Api |
|
|
empty($info) && $this->error('您还不是管理员');
|
|
|
}
|
|
|
$info['avatar'] = cdnurl($info['avatar'],true);
|
|
|
$info->getRelation('house')->visible(['id','name']);
|
|
|
$info->house->visible(['id','name']);
|
|
|
$this->success('success',$info);
|
|
|
}
|
|
|
|
...
|
...
|
|