From 25ea0bf64ee8c92952b6f39f8cb034e5af57a7ca Mon Sep 17 00:00:00 2001 From: hailin Date: Sat, 31 Jan 2026 08:58:55 -0800 Subject: [PATCH] =?UTF-8?q?fix(trading-service):=20=E4=BF=AE=E5=A4=8D=20Mu?= =?UTF-8?q?lter=20=E7=B1=BB=E5=9E=8B=E7=BC=BA=E5=A4=B1=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用内联类型替代 Express.Multer.File,避免 @types/multer 依赖 Co-Authored-By: Claude Opus 4.5 --- .../trading-service/src/api/controllers/c2c.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/services/trading-service/src/api/controllers/c2c.controller.ts b/backend/services/trading-service/src/api/controllers/c2c.controller.ts index 86ab4817..485b3538 100644 --- a/backend/services/trading-service/src/api/controllers/c2c.controller.ts +++ b/backend/services/trading-service/src/api/controllers/c2c.controller.ts @@ -280,7 +280,7 @@ export class C2cController { @ApiResponse({ status: 200, description: '上传成功' }) async uploadPaymentProof( @Param('orderNo') orderNo: string, - @UploadedFile() file: Express.Multer.File, + @UploadedFile() file: { originalname: string; buffer: Buffer; mimetype: string; size: number }, @Req() req: any, ): Promise { const accountSequence = req.user?.accountSequence;