微信授权登录,获取授权凭证改为后端获取

This commit is contained in:
姚亚男
2021-11-18 12:04:24 +08:00
parent e5b09a6c56
commit a1d42ee12f
11 changed files with 55 additions and 167 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ App({
success(result){
wxBind((res)=>{
let params = {
openId: res.data.openid,
openId: res.result.openid,
rsaPublicKey: result.rsaPublicKey
}
UserApi.wxLogin(params).then(res=>{