feat(r4): POST /api/sketch + Upload 归属记录 + 派单状态后台同步与大小校验

This commit is contained in:
2026-08-13 01:34:19 +08:00
parent 34f48d0d59
commit 3f7ce2cdcd
8 changed files with 166 additions and 31 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export class WordCloudController {
@Post('generate')
@ApiOperation({ summary: '创建词云任务(底图 + 名单文本)' })
@ApiConsumes('multipart/form-data')
@UseInterceptors(FileInterceptor('image'))
@UseInterceptors(FileInterceptor('image', { limits: { fileSize: 10 * 1024 * 1024 } }))
async generate(
@CurrentUser() user: JwtPayload,
@UploadedFile() image: Express.Multer.File | undefined,