|
@@ -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
|