Roc 3 жил өмнө
parent
commit
63bd710f8c

+ 1 - 1
controller/wechat/wechat.go

@@ -103,7 +103,7 @@ func GetEncryptInfo(c *gin.Context) {
 		response.Fail("请重新登录", c)
 		response.Fail("请重新登录", c)
 		return
 		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 {
 	if err != nil {
 		response.Fail("获取失败,Err:"+err.Error(), c)
 		response.Fail("获取失败,Err:"+err.Error(), c)
 		return
 		return