...
|
...
|
@@ -174,7 +174,9 @@ class User extends Api |
|
|
->order(['is_direct'=>'asc','createtime'=>'asc'])
|
|
|
->field('id,house_id,is_direct,nickname,avatar')
|
|
|
->find();
|
|
|
if(!$info) {
|
|
|
if($info) {
|
|
|
$user['identity'] = 1;
|
|
|
} else {
|
|
|
$user['identity'] = 0;
|
|
|
}
|
|
|
$this->success('成功', array_merge($user,$data));
|
...
|
...
|
|