xtq15838026704
xtq15838026704
2019-03-30 19:12

springmvc拦截器处理加密参数后如何放到request中 ,再让控制层可以request.getParameter("xx")得到?

  • spring
  • java

@Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response,
Object object) throws Exception {

                                                    解密某个参数 

                                                    }

                                                     @RequestMapping(value = "xxx.do")
public void getHardVer(HttpServletRequest request, HttpServletResponse response) {
    request.getParameter("XXX"));

    }
  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答