From e10d4111e73a502fcd5f51c47312c754dcf915b8 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期三, 20 十月 2021 17:32:57 +0800 Subject: [PATCH] 屏蔽RSA打印日志 --- src/main/java/com/hx/resultTool/ResponseCode.java | 1 + src/main/java/com/hx/util/rsa/RSAUtil.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/hx/resultTool/ResponseCode.java b/src/main/java/com/hx/resultTool/ResponseCode.java index c77fc7e..73e2f9a 100644 --- a/src/main/java/com/hx/resultTool/ResponseCode.java +++ b/src/main/java/com/hx/resultTool/ResponseCode.java @@ -6,6 +6,7 @@ * @Data: 2020-06-20 */ public final class ResponseCode { + /*鎴愬姛*/ public static final String SUCCESS = "100"; /*閿欒鎻愮ず锛屽墠绔牴鎹繖涓爜寮瑰嚭鎻愮ず*/ diff --git a/src/main/java/com/hx/util/rsa/RSAUtil.java b/src/main/java/com/hx/util/rsa/RSAUtil.java index 45349a3..20bb3f0 100644 --- a/src/main/java/com/hx/util/rsa/RSAUtil.java +++ b/src/main/java/com/hx/util/rsa/RSAUtil.java @@ -64,7 +64,7 @@ byte[] bytes = cipher.doFinal(content.getBytes()); return byte2Base64(bytes); } catch (Exception e) { - logger.error("鍏挜鍔犲瘑澶辫触{}", e); + //logger.error("鍏挜鍔犲瘑澶辫触{}", e); } return null; } @@ -77,7 +77,7 @@ byte[] bytes = cipher.doFinal(base642Byte(content)); return new String(bytes); } catch (Exception e) { - logger.error("绉侀挜瑙e瘑澶辫触{}", e); + //logger.error("绉侀挜瑙e瘑澶辫触{}", e); } return null; } -- Gitblit v1.8.0