GeekEast / blog_comment

0 stars 0 forks source link

Router Matching Rules | 雪中印 #184

Open GeekEast opened 4 years ago

GeekEast commented 4 years ago

https://geekeast.github.io/Developer/framework/restful/routermatch.html

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