From cb913a9adcbe83b5688478cf538f11631b1270da Mon Sep 17 00:00:00 2001 From: fanc <1571025887@qq.com> Date: 星期四, 25 一月 2024 14:48:29 +0800 Subject: [PATCH] fix 提升锁的作用域 并采用双重校验锁 --- ruoyi-common/ruoyi-common-encrypt/src/main/java/org/dromara/common/encrypt/filter/EncryptResponseBodyWrapper.java | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/ruoyi-common/ruoyi-common-encrypt/src/main/java/org/dromara/common/encrypt/filter/EncryptResponseBodyWrapper.java b/ruoyi-common/ruoyi-common-encrypt/src/main/java/org/dromara/common/encrypt/filter/EncryptResponseBodyWrapper.java index f5482de..05cf444 100644 --- a/ruoyi-common/ruoyi-common-encrypt/src/main/java/org/dromara/common/encrypt/filter/EncryptResponseBodyWrapper.java +++ b/ruoyi-common/ruoyi-common-encrypt/src/main/java/org/dromara/common/encrypt/filter/EncryptResponseBodyWrapper.java @@ -70,7 +70,6 @@ public String getEncryptContent(HttpServletResponse servletResponse, String publicKey, String headerFlag) throws IOException { // 鐢熸垚绉橀挜 String aesPassword = RandomUtil.randomString(32); - System.out.println("aesPassword = " + aesPassword); // 绉橀挜浣跨敤 Base64 缂栫爜 String encryptAes = EncryptUtils.encryptByBase64(aesPassword); // Rsa 鍏挜鍔犲瘑 Base64 缂栫爜 -- Gitblit v1.9.3