Roc 3 년 전
부모
커밋
63bd710f8c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      controller/wechat/wechat.go

+ 1 - 1
controller/wechat/wechat.go

@@ -103,7 +103,7 @@ func GetEncryptInfo(c *gin.Context) {
 		response.Fail("请重新登录", c)
 		return
 	}
-	decryptData, err := wx_app.GetDecryptInfo(userInfo.SessionKey, req.EncryptedData, req.Iv)
+	decryptData, err := wx_app.GetDecryptInfo(userInfo.RecordInfo.SessionKey, req.EncryptedData, req.Iv)
 	if err != nil {
 		response.Fail("获取失败,Err:"+err.Error(), c)
 		return