【修改】 微信授权3

This commit is contained in:
fengachen
2021-12-27 20:22:43 +08:00
parent da5f5f234c
commit ea1dad0984
+1 -1
View File
@@ -173,7 +173,7 @@ Page({
}) })
wxBind((res)=>{ wxBind((res)=>{
let params = { let params = {
openId: res.result.openid, openId: encrypt(that.data.rsaPublicKey,res.result.openid),
rsaPublicKey: that.data.rsaPublicKey rsaPublicKey: that.data.rsaPublicKey
} }
UserApi.wxLogin(params).then(res=>{ UserApi.wxLogin(params).then(res=>{