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