微信授权登录,获取授权凭证改为后端获取
This commit is contained in:
@@ -178,7 +178,7 @@ Page({
|
||||
const that = this
|
||||
wxBind((res)=>{
|
||||
let params = {
|
||||
openId: res.data.openid,
|
||||
openId: res.result.openid,
|
||||
rsaPublicKey: that.data.rsaPublicKey
|
||||
}
|
||||
// 需要判断是否绑定过微信,再进行绑定请求
|
||||
|
||||
Reference in New Issue
Block a user