小程序授权地址修改

This commit is contained in:
taozi
2021-10-09 19:52:55 +08:00
parent 45428b13b6
commit fc3aa4b107

View File

@ -404,11 +404,11 @@ export function wxappBindingPhone(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)
}
/*