后台:修复部分遗漏
This commit is contained in:
@@ -20,7 +20,8 @@ function aesDecrypt(data, key, iv) {
|
||||
module.exports = options => {
|
||||
return async function parmsDecode(ctx: Context, next) {
|
||||
let m = ctx.request.url.indexOf("/dev");
|
||||
if(m == 0) {
|
||||
let n = ctx.request.url.indexOf("/web");
|
||||
if(m == 0 || n == 0) {
|
||||
await next();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user