node router
const { Router } = require('restify-router');
const router = new Router();
router.post('', async (req, res, next) => {});
这种写法有没有问题?
const { Router } = require('restify-router');
const router = new Router();
router.post('', async (req, res, next) => {});
这种写法有没有问题?