...
|
...
|
@@ -492,7 +492,10 @@ class HouseBoard extends Api |
|
|
|
|
|
$house_admin = Db::name('house_admin')->where('user_id',$wuye_user_id)->where('house_id',$house_id)->find();
|
|
|
if(empty($house_admin)){
|
|
|
$this->error('参数有误,社区与管理员id不匹配');
|
|
|
// 多管理员
|
|
|
$house = Db::name('house')->where('id',$house_id)->find();
|
|
|
$house_admin = Db::name('house_admin')->where(['id'=>$house['admin_user_id'],'user_id'=>$wuye_user_id])->find();
|
|
|
empty($house_admin) && $this->error('参数有误,社区与管理员id不匹配');
|
|
|
}
|
|
|
$where = [
|
|
|
'where' => [
|
...
|
...
|
|