diff --git a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/customer/service/impl/CustInfoServiceImpl.java b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/customer/service/impl/CustInfoServiceImpl.java index db0009e8..916b2723 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/customer/service/impl/CustInfoServiceImpl.java +++ b/bonus-modules/bonus-smart-canteen/src/main/java/com/bonus/canteen/core/customer/service/impl/CustInfoServiceImpl.java @@ -230,11 +230,11 @@ public class CustInfoServiceImpl extends ServiceImpl i return ajaxResult; } - public static void main(String[] args) { - BCryptPasswordEncoder bCrypt = new BCryptPasswordEncoder(); - boolean flag = bCrypt.matches("Bonus$2026", "$2a$10$vrcmG0TyvgH5tS9g8ptaVOK2K3pYWVAa13SWEK7pQBGRtNAPlGV7O"); - System.out.println(flag); - } +// public static void main(String[] args) { +// BCryptPasswordEncoder bCrypt = new BCryptPasswordEncoder(); +// boolean flag = bCrypt.matches("Bonus$2026", "$2a$10$vrcmG0TyvgH5tS9g8ptaVOK2K3pYWVAa13SWEK7pQBGRtNAPlGV7O"); +// System.out.println(flag); +// } @Override public AjaxResult custForgetPassword(CustForgetPasswordDTO content) { @@ -310,8 +310,8 @@ public class CustInfoServiceImpl extends ServiceImpl i @Override public String getOrderQRCode(Integer sourceType, String paramValue) { - String stime = String.valueOf(System.currentTimeMillis() / 1000L); - return "xnzn{\"s\":" + sourceType + ",\"y\":" + LeCodeUseSceneEnum.PAY.key() + ",\"p\":\"" + paramValue + "\",\"t\":" + stime + "}"; + String stime = String.valueOf(System.currentTimeMillis()); + return "xnzn{\"s\":" + sourceType + ",\"y\":" + LeCodeUseSceneEnum.PAY.key() + ",\"p\":\"" + paramValue + "\",\"t\":" + "\"" + stime + "\"}"; } public static void assembleErrInfo(List custErrorToLeadList, CustAccExcelModel temp, String msg) {