Open GeekEast opened 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);
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);