|
@@ -189,6 +189,9 @@ class Login extends Api
|
|
|
$avatar=input('avatarUrl');
|
|
|
$nickname=input('nickname');
|
|
|
|
|
|
+ dump($user_id);
|
|
|
+ dump($avatar);
|
|
|
+ dump($nickname);
|
|
|
$res=Db::table('q_user')->where('id',$user_id)->update(['headimg'=>$avatar,'nickname'=>$nickname]);
|
|
|
if(empty($res)){
|
|
|
$this->success('授权信息失败,请重新授权');
|