perf(encrypt):加解密调整

This commit is contained in:
曾文豪
2023-07-05 14:11:01 +08:00
parent 90e504e7fd
commit ea24bf3479
6 changed files with 23 additions and 24 deletions

View File

@@ -37,7 +37,7 @@ public class EncryptResponseBodyAdvice implements ResponseBodyAdvice<ApiResp> {
try {
Object data = body.getData();
if (data == null || !body.successful()) {
if (data == null || !body.successful() || !encryptConfig.isBody()) {
return body;
}