temp
This commit is contained in:
parent
61e38f75a1
commit
3f754d66e4
@ -37,7 +37,7 @@ func (l *QueryShareDetailLogic) QueryShareDetail(req *types.QueryShareDetailReq)
|
|||||||
if decodeErr != nil {
|
if decodeErr != nil {
|
||||||
return nil, errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "报告查询, 获取AES解密解药失败, %v", err)
|
return nil, errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "报告查询, 获取AES解密解药失败, %v", err)
|
||||||
}
|
}
|
||||||
decryptedID, decryptErr := crypto.AesDecrypt(req.Id, key)
|
decryptedID, decryptErr := crypto.AesDecryptURL(req.Id, key)
|
||||||
if decryptErr != nil {
|
if decryptErr != nil {
|
||||||
return nil, errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "报告查询, 解密数据失败: %v", decryptErr)
|
return nil, errors.Wrapf(xerr.NewErrCode(xerr.SERVER_COMMON_ERROR), "报告查询, 解密数据失败: %v", decryptErr)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user