更新
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
/*封装入参*/
|
||||
module.exports = {
|
||||
sort: 3, //排序
|
||||
sort: 5, //排序
|
||||
use : true, // 是否使用
|
||||
fun : async (ctx, next, app) => {
|
||||
|
||||
ctx.params = ctx.request.body || ctx.query
|
||||
|
||||
await next()
|
||||
|
||||
Reference in New Issue
Block a user