需要在不传递参数HttpServletRequest请求的情况下使用,因为它是一个要被覆盖的方法。
@Override
@RequestMapping(method = RequestMethod.GET)
@PreValidateCheckoutStep(checkoutStep = MULTI)
public String enterStep(final Model model, final RedirectAttributes redirectAttributes) throws CMSItemNotFoundException, // NOSONAR
CommerceCartModificationException
{
final Cookie[] cookies = request.getCookies();
final String guid = (String) request.getSession().getAttribute(CustomstorefrontaddonConstants.SECURE_GUID_SESSION_KEY);
}