@GetMapping(value = "/redirect") | @GetMapping(value = "/redirect") | ||||
public void redirect(HttpServletRequest req, HttpServletResponse resp) throws Exception { | public void redirect(HttpServletRequest req, HttpServletResponse resp) throws Exception { | ||||
log.info("访问www.baidu.com"); | log.info("访问www.baidu.com"); | ||||
resp.sendRedirect("http://192.168.12.15:8080/transfer?clientId=tuoheng-airport-admin"); | |||||
resp.sendRedirect("https://airport-test.t-aaron.com/transfer"); | |||||
} | } | ||||
} | } |