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";
    }
}
上一篇 下一篇

猜你喜欢

热点阅读