Commit d24ff396 authored by 唐峰's avatar 唐峰

VerificationCodeErrorException supper msg

parent 1907d0f5
......@@ -21,6 +21,7 @@ public class VerificationCodeErrorException extends RuntimeException {
}
public VerificationCodeErrorException(BizExceptionEnum bizExceptionEnum) {
super(bizExceptionEnum.getMsg());
this.msg = bizExceptionEnum.getMsg();
this.businessCode = bizExceptionEnum.getBusinessCode();
}
......
......@@ -19,4 +19,9 @@ public class BctyptPasswordUtil {
return BCrypt.checkpw(password, hashe);
}
public static void main(String[] args) {
Boolean aBoolean = BCryptCheckPw("123455lll", "$2a$10$F5zuGyS2wi1Qtfo3yoglU.o4U.nr386JduPGUg28AMrVDdR0vdSjS");
System.out.println(aBoolean);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment