作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

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();