fix(route): segmentfault return empty and refactor to V2 (#9270)

* fix(route): return empty and refactor to V2

* docs: update segmentfault user example
This commit is contained in:
Fatpandac
2022-03-08 22:01:44 +08:00
committed by GitHub
parent b808cdb78f
commit 7e3bdc45fc
9 changed files with 118 additions and 186 deletions

View File

@@ -0,0 +1,4 @@
module.exports = function (router) {
router.get('/channel/:name', require('./channel'));
router.get('/user/:name', require('./user'));
};