付智勇

no message

正在显示 1 个修改的文件 包含 3 行增加1 行删除
... ... @@ -53,7 +53,9 @@ app.use(async (ctx, next) => {
try{
const start = new Date();
const url = ctx.request.url.split('?');
if(filterUrl.indexOf(url[0]) != -1){
if(true){
await next();
}else if(filterUrl.indexOf(url[0]) != -1){
await next();
}else if(!ctx.header.token){
... ...