Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

全局返回结果里怎么加密 #20

Open
GXSZone opened this issue Aug 2, 2022 · 2 comments
Open

全局返回结果里怎么加密 #20

GXSZone opened this issue Aug 2, 2022 · 2 comments

Comments

@GXSZone
Copy link

GXSZone commented Aug 2, 2022

这种仅对data加密在全局返回结果里怎么加密
image

{
"code":1,
"message":"成功",
"data":{}
}

@GXSZone GXSZone changed the title @FieldBody不支持T类型数据加密 不支持T类型数据加密 Aug 2, 2022
@GXSZone GXSZone changed the title 不支持T类型数据加密 全局返回结果里怎么加密 Aug 2, 2022
@Licoy
Copy link
Owner

Licoy commented Aug 2, 2022

@GXSZone
Copy link
Author

GXSZone commented Aug 2, 2022

可以尝试使用声明类单一属性加解密:https://github.com/Licoy/encrypt-body-spring-boot-starter#%E5%AF%B9%E5%A3%B0%E6%98%8E%E7%B1%BB%E5%8D%95%E4%B8%80%E5%B1%9E%E6%80%A7%E7%94%9F%E6%95%88

试了不行,不知道是不是我使用问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants