后台:修复部分遗漏

This commit is contained in:
luying
2021-05-12 20:07:47 +08:00
parent 148a11edab
commit 388d82991f
10 changed files with 65 additions and 57 deletions

View File

@@ -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;
}