We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
具体说下 我们的业务涉及到传输的数据都是加密处理的。 现在我们前端会将数据加密后发给后端,后端解密后再去处理逻辑。传输的格式还是Json的,只是里面的字段是加密的。
所以不知道APIJSON有没有这样的中间层可以去处理这个情况。
为什么 希望可以定义数据加解密的部分,数据到APIJSON根据自定义逻辑去解密后再去处理数据库请求,返回数据也按照加解密逻辑去加密后返回。
The text was updated successfully, but these errors were encountered:
可以在 Controller 层统一处理,解密后再调 super 方法,然后把返回值加密 https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONDemo/src/main/java/apijson/demo/DemoController.java
如果不能统一处理(每个接口处理逻辑不一样),则编写远程函数来实现 #101
Sorry, something went wrong.
No branches or pull requests
具体说下
我们的业务涉及到传输的数据都是加密处理的。
现在我们前端会将数据加密后发给后端,后端解密后再去处理逻辑。传输的格式还是Json的,只是里面的字段是加密的。
所以不知道APIJSON有没有这样的中间层可以去处理这个情况。
为什么
希望可以定义数据加解密的部分,数据到APIJSON根据自定义逻辑去解密后再去处理数据库请求,返回数据也按照加解密逻辑去加密后返回。
The text was updated successfully, but these errors were encountered: