3,controller
2019-01-11 本文已影响2人
滔滔逐浪
@RestController
@RequestMapping("/api")
public class ZhangWuController {
@RequestMapping(value = "/loginout",method = RequestMethod.GET)
public void Login(HttpServletResponse response) throws IOException {
response.sendRedirect("/home/login.html");
// return "login";
}
}