This commit is contained in:
苏尹岚
2021-04-16 14:51:03 +08:00
parent 809c046994
commit f22645a54b
2 changed files with 6 additions and 1 deletions

View File

@@ -383,7 +383,6 @@ func (c *Auth2Controller) GetUserByMiniInfo() {
}
jsCode := strings.Join(str, ",")
if err == nil {
fmt.Println("1111111111111111", utils.Format4Output(authInfo, true))
decryptedDataBase64, err2 := weixin.AutherObjMini.DecryptData(authInfo, jsCode, params.Data, params.Iv)
if err = err2; err == nil {
var userInfo *weixinapi.MiniUserInfo