添加网页调试
This commit is contained in:
@@ -19,6 +19,10 @@ function aesDecrypt(data, key, iv) {
|
||||
|
||||
module.exports = options => {
|
||||
return async function parmsDecode(ctx: Context, next) {
|
||||
if(ctx.request.url == '/dev') {
|
||||
await next();
|
||||
return;
|
||||
}
|
||||
if (options.threshold && ctx.length < options.threshold) return;
|
||||
const reqBody = ctx.request.body;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user