@midwayjs/cross-domainClassesCorsMiddleware版本:Next本页总览CorsMiddleware ImplementsIMiddleware<any, any>Index ConstructorsconstructorPropertiescorsMethodscompatibleMiddlewareresolvegetNameConstructors constructornew CorsMiddleware(): CorsMiddlewareProperties corscors: CORSOptionsMethods compatibleMiddlewarecompatibleMiddleware(request: any, response: any, next: any): Promise<any>resolveresolve(app: any): (req: any, res: any, next: any) => Promise<any>staticgetNamegetName(): string