From d7c77068ccbcd86f1d8bb804c375b2935267ed45 Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 25 Nov 2019 14:46:40 +0800 Subject: [PATCH] =?UTF-8?q?DecryptData=E4=B8=AD=E6=9B=B4=E6=96=B0sessionKe?= =?UTF-8?q?y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/auth2/authprovider/weixin/weixin_mini.go | 1 + 1 file changed, 1 insertion(+) diff --git a/business/auth2/authprovider/weixin/weixin_mini.go b/business/auth2/authprovider/weixin/weixin_mini.go index 6e079b7ee..82e37b2ca 100644 --- a/business/auth2/authprovider/weixin/weixin_mini.go +++ b/business/auth2/authprovider/weixin/weixin_mini.go @@ -72,6 +72,7 @@ func (a *MiniAuther) DecryptData(authInfo *auth2.AuthInfo, jsCode, encryptedData if err != nil { return "", err } + authInfo.AuthBindInfo.UserData = sessionKey return string(decryptedData), nil }