【修改】 微信授权登录2
This commit is contained in:
@@ -112,7 +112,7 @@ Page({
|
||||
})
|
||||
wxBind((res)=>{
|
||||
let params = {
|
||||
openId: res.result.openid,
|
||||
openId: encrypt(that.data.rsaPublicKey,res.result.openid),
|
||||
rsaPublicKey: that.data.rsaPublicKey
|
||||
}
|
||||
UserApi.wxLogin(params).then(res=>{
|
||||
|
||||
Reference in New Issue
Block a user