feat(route): add 重构 (#10153)

* feat(route): add 重构

* fix typo
This commit is contained in:
Ethan Shen
2022-07-06 20:41:03 +08:00
committed by GitHub
parent 17c5d19ec8
commit 420ed7d23c
6 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
module.exports = function (router) {
router.get('/news', require('./news'));
router.get('/:category?', require('./index'));
};