@midwayjs/busboyClassesUploadMiddleware版本:Next本页总览UploadMiddleware ImplementsIMiddleware<any, any>Index ConstructorsconstructorPropertiesignoreloggermatchuploadConfigMethodscheckAndGetExtcheckFileTypegetUploadBoundaryisReadableStreamresolvegetNameConstructors constructornew UploadMiddleware(): UploadMiddlewareProperties ignoreignore: IgnoreMatcher<any>[]loggerlogger: ILoggermatchmatch: IgnoreMatcher<any>[]uploadConfiguploadConfig: UploadOptionsMethods checkAndGetExtcheckAndGetExt(filename: any, whiteListMap?: Map<string, string>): string | booleancheckFileTypecheckFileType(ext: string, data: Buffer, uploadFileMimeTypeMap?: Map<string, string[]>): Promise<{ current?: string; mime?: string; passed: boolean }>getUploadBoundarygetUploadBoundary(request: any): string | falseisReadableStreamisReadableStream(req: any, isExpress: any): booleanresolveresolve(app: IMidwayBaseApplication<Context>, options?: { mode?: UploadMode } & BusboyConfig): (ctxOrReq: any, resOrNext: any, next: any) => Promise<any>staticgetNamegetName(): string