Java Spring MVC
路由一:文章大类列表页分页.
@RequestMapping(value="/{oneType}/{page}",method=RequestMethod.GET) public String OneArticlePages(@PathVariable String oneType,@PathVariable int page,ModelMap model)
路由二:文章小类列表.
@RequestMapping(value="/{oneType}/{twoType}",method=RequestMethod.GET) public String TwoArticles(@PathVariable String oneType,@PathVariable String twoType,ModelMap model)
这样的两个路由会冲突,有什么办法解决吗?在线等,各位园友指导指导!
添加回答
举报
0/150
提交
取消