From fc3aa4b1076a03815e1154e5b0dc94b3dd95be15 Mon Sep 17 00:00:00 2001 From: taozi <9108791@qq.com> Date: Sat, 9 Oct 2021 19:52:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=8E=88=E6=9D=83?= =?UTF-8?q?=E5=9C=B0=E5=9D=80=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/user.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/user.js b/api/user.js index b4555ee..32f4512 100644 --- a/api/user.js +++ b/api/user.js @@ -403,12 +403,12 @@ export function wxappBindingPhone(data) { return request.post('wxapp/binding', data) } -/** - * 小程序上传用户头像 +/** + * 小程序授权 */ export function wxappGetUserInfo (data) { - // return request.post('/wxapp/loginAuth', data) - return request.get('/wechat/auth', data) + return request.post('/wxapp/loginAuth', data) + //return request.get('/wechat/auth', data) } /*