From 7d8eb5f49995a0a5da0eea430433bac77f368379 Mon Sep 17 00:00:00 2001 From: wanggeng <450292408@qq.com> Date: Mon, 14 Feb 2022 22:49:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E7=BD=91=E6=A0=BC=E5=91=98?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E5=8A=A0=E5=AF=86=E6=96=B9=E5=BC=8F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/cn/com/tenlion/usercenter/BaseGridMemberTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/cn/com/tenlion/usercenter/BaseGridMemberTest.java b/src/test/java/cn/com/tenlion/usercenter/BaseGridMemberTest.java index 3792caa..e671bfb 100644 --- a/src/test/java/cn/com/tenlion/usercenter/BaseGridMemberTest.java +++ b/src/test/java/cn/com/tenlion/usercenter/BaseGridMemberTest.java @@ -7,6 +7,7 @@ import com.alibaba.excel.event.AnalysisEventListener; import ink.wgink.util.UUIDUtil; import ink.wgink.util.date.DateUtil; import ink.wgink.util.jdbc.JdbcUtil; +import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.lang3.StringUtils; import org.junit.Test; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; @@ -350,7 +351,7 @@ public class BaseGridMemberTest { username = excelGridMember.getUserPhone(); } insertUserPS.setString(2, username); - insertUserPS.setString(3, new BCryptPasswordEncoder().encode("88888888")); + insertUserPS.setString(3, new BCryptPasswordEncoder().encode(DigestUtils.md5Hex(DigestUtils.md5Hex(DigestUtils.md5Hex("88888888"))))); insertUserPS.setString(4, excelGridMember.getUserName().replaceAll("\\s", "")); insertUserPS.setString(5, excelGridMember.getUserPhone()); insertUserPS.setString(6, currentDateTime);