如何使烧瓶处理无限的子路由/路径

时间:2020-11-10 02:04:06

标签: python-3.x flask

例如:现在,如果您想要一条可以处理一条子路线的路线,则可以执行@ app.route('/ {whatever} / <{subroute}>') 然后,如果要处理两个,则可以执行以下操作: @ app.route('/ {whatever} / <{subroute}> /') 三个你做: @ app.route('/ {whatever} / <{subroute}> //') 等等,有没有办法声明无限子路由?

0 个答案:

没有答案