@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";
}
}
网友评论