From ea1dad0984b6ddfcfab19983d45d72e4ea730dcf Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Mon, 27 Dec 2021 20:22:43 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=20?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=8E=88=E6=9D=833?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/login.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/login/login.js b/pages/login/login.js index e6975ec..fa86ca7 100644 --- a/pages/login/login.js +++ b/pages/login/login.js @@ -173,7 +173,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=>{