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);