无法获取Session中的短信,为null
httpServletRequest.getSession().setAttribute(telphone,otpCode);//保存 String sessionOtpCode = (String) this.httpServletRequest.getSession().getAttribute(telphone);获取 号码是对的
httpServletRequest.getSession().setAttribute(telphone,otpCode);//保存 String sessionOtpCode = (String) this.httpServletRequest.getSession().getAttribute(telphone);获取 号码是对的
2019-04-19
举报