如何编写带有固有数字ID的路由路径?
这是我想要的java等效项:
@RequestMapping(value = "/{id:[1-20]+}ap", method = RequestMethod.GET)
@RequestMapping(value = "/{id:[1-15]+}am", method = RequestMethod.GET)
@RequestMapping(value = "/{id:[1-10]+}as", method = RequestMethod.GET)
如何在Angular 5中编写此代码?