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

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
@@ -178,7 +178,7 @@ Page({
const that = this
wxBind((res)=>{
let params = {
openId: res.data.openid,
openId: res.result.openid,
rsaPublicKey: that.data.rsaPublicKey
}
// 需要判断是否绑定过微信,再进行绑定请求