GeekEast / blog_comment

0 stars 0 forks source link

路由匹配 | 雪中印 #20

Open GeekEast opened 5 years ago

GeekEast commented 5 years ago

https://geekeast.github.io/routermatch.html

规律:从长倒短,从定到变(waterfall) 123router.get('/projects/count',db.xxx1);router.get('/projects/count',db.xxx2);router.get('/projects/:id/count',db.xxx3);