@PathVariable
将路径传递为入参
@RequestMapping("/{page}") public String showPage(@PathVariable String page){ return page; }
@PathVariable
将路径传递为入参
@RequestMapping("/{page}") public String showPage(@PathVariable String page){ return page; }
转载于:https://www.cnblogs.com/tianphone/p/10944055.html