get token

This commit is contained in:
sxu 2025-03-15 16:28:14 +08:00
parent 10d4b6b56c
commit 501759fa68
1 changed files with 5 additions and 5 deletions

View File

@ -230,11 +230,11 @@ public class CustInfoServiceImpl extends ServiceImpl<CustInfoMapper, CustInfo> i
return ajaxResult; return ajaxResult;
} }
public static void main(String[] args) { // public static void main(String[] args) {
BCryptPasswordEncoder bCrypt = new BCryptPasswordEncoder(); // BCryptPasswordEncoder bCrypt = new BCryptPasswordEncoder();
boolean flag = bCrypt.matches("Bonus$2026", "$2a$10$vrcmG0TyvgH5tS9g8ptaVOK2K3pYWVAa13SWEK7pQBGRtNAPlGV7O"); // boolean flag = bCrypt.matches("Bonus$2026", "$2a$10$vrcmG0TyvgH5tS9g8ptaVOK2K3pYWVAa13SWEK7pQBGRtNAPlGV7O");
System.out.println(flag); // System.out.println(flag);
} // }
@Override @Override
public AjaxResult custForgetPassword(CustForgetPasswordDTO content) { public AjaxResult custForgetPassword(CustForgetPasswordDTO content) {