带有角的固有数字ID的路由路径

时间:2018-08-17 07:53:01

标签: angular routing

如何编写带有固有数字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中编写此代码?

0 个答案:

没有答案