@midwayjs/coreInterfacesIMiddleware版本:Next本页总览IMiddleware <CTX, R, N>Common middleware definitionIndex PropertiesignorematchresolveProperties optionalignoreignore?: IgnoreMatcher<CTX> | IgnoreMatcher<CTX>[]Match those paths with higher priority than ignoreoptionalmatchmatch?: IgnoreMatcher<CTX> | IgnoreMatcher<CTX>[]Which paths to ignoreresolveresolve: (app: IMidwayBaseApplication<Context>, options?: any) => FunctionMiddleware<CTX, R, N> | Promise<FunctionMiddleware<CTX, R, N>>
Common middleware definition