點選檢視程式碼
password = DigestUtils.md5DigestAsHex(password.getBytes());
if (!password.equals(employee.getPassword())) {
//密碼錯誤
throw new PasswordErrorException(MessageConstant.PASSWORD_ERROR);
}
password = DigestUtils.md5DigestAsHex(password.getBytes());
if (!password.equals(employee.getPassword())) {
//密碼錯誤
throw new PasswordErrorException(MessageConstant.PASSWORD_ERROR);
}