【修改】 微信授权3
This commit is contained in:
@@ -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=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user