1
This commit is contained in:
parent
260a4f3f51
commit
298aa92a7d
@ -31,7 +31,8 @@ class User extends BaseController
|
||||
public function index()
|
||||
{
|
||||
$user = Db::table('fa_user')->where('id',JWT_UID)->find();
|
||||
$this->apiSuccess('', ['nickname' => $user['nickname'],'avatar'=>$user['avatar']]);
|
||||
$user_msg = Db::table('fa_szxc_information_usermsg')->where('user_id',JWT_UID)->field('id,name,address_name')->find();
|
||||
$this->apiSuccess('', ['nickname' => $user['nickname'],'avatar'=>$user['avatar'],'address_name'=>$user_msg['address_name']]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user