| | |
| | | insertLog(req, ue, resId); |
| | | |
| | | String url = getSourceUrl(req, entity, token); |
| | | forward(req, res, url); |
| | | res.setHeader("token", token); |
| | | forward(req, res, entity, url); |
| | | } |
| | | |
| | | /** |
| | |
| | | /** |
| | | * 转发请求 |
| | | */ |
| | | private void forward(HttpServletRequest request, HttpServletResponse response, String url) throws Exception { |
| | | private void forward(HttpServletRequest request, HttpServletResponse response, ResEntity entity, String url) throws Exception { |
| | | HttpHelper httpHelper = new HttpHelper(); |
| | | httpHelper.service(request, response, url, null); |
| | | httpHelper.service(request, response, entity, url); |
| | | } |
| | | } |