feat(r4): POST /api/sketch + Upload 归属记录 + 派单状态后台同步与大小校验
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user