From f36b0d88169718ba5ce0356da44e3e809b213c22 Mon Sep 17 00:00:00 2001 From: qi Date: Thu, 9 Apr 2020 09:20:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=AF=AD=E6=B3=95=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/lq/code/util/Md5Util.java | 2 +- .../java/com/lq/code/util/jdbc/JdbcUtils.java | 4 ++-- .../java/com/lq/wechat/util/DecriptTest.java | 4 ++-- .../java/com/lq/wechat/web/WechatController.java | 16 ++++++++++++---- src/main/profile/dev/jdbc.properties | 2 +- src/main/profile/dev/redis.properties | 2 +- 6 files changed, 19 insertions(+), 11 deletions(-) diff --git a/src/main/java/com/lq/code/util/Md5Util.java b/src/main/java/com/lq/code/util/Md5Util.java index ce94046..1519b2b 100755 --- a/src/main/java/com/lq/code/util/Md5Util.java +++ b/src/main/java/com/lq/code/util/Md5Util.java @@ -17,7 +17,7 @@ public class Md5Util { try { MessageDigest md = MessageDigest.getInstance("MD5"); md.update(plainText.getBytes()); - byte b[]=md.digest(); + byte[] b=md.digest(); int i; StringBuffer buffer=new StringBuffer(""); for (int offset=0;offset