优化架构,新增路由

This commit is contained in:
robin committed 2022-06-04 11:43:05 +08:00
1 parent ba9ca43729
commit 264ab8d979
22 files changed
+161 -60

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
'use strict';
const bodyParser = require('koa-bodyparser')
// 错误处理
module.exports = {
sort: 4, //排序
use : true, // 是否使用
fun : bodyParser()
}