正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -170,7 +170,7 @@ class User extends Api | @@ -170,7 +170,7 @@ class User extends Api | ||
170 | 'identity' | 170 | 'identity' |
171 | ])->toArray(); | 171 | ])->toArray(); |
172 | $info = HouseAdminModel::where(['user_id'=>$this->auth->id]) | 172 | $info = HouseAdminModel::where(['user_id'=>$this->auth->id]) |
173 | - ->where(['house_id'=>$user['house_id']]) | 173 | + ->where(['house_id'=>$house['id']]) |
174 | ->order(['is_direct'=>'asc','createtime'=>'asc']) | 174 | ->order(['is_direct'=>'asc','createtime'=>'asc']) |
175 | ->field('id,house_id,is_direct,nickname,avatar') | 175 | ->field('id,house_id,is_direct,nickname,avatar') |
176 | ->find(); | 176 | ->find(); |
-
请 注册 或 登录 后发表评论