perf:修复健康数据

This commit is contained in:
2025-09-12 23:00:49 +08:00
parent cf02fda4ec
commit dc06dfbebd
4 changed files with 671 additions and 406 deletions

View File

@@ -132,4 +132,17 @@ export class FoodConfirmationRequestDto {
@IsOptional()
@IsString()
imageUrl?: string;
}
/**
* 文本食物分析请求DTO
*/
export class TextFoodAnalysisRequestDto {
@ApiProperty({
description: '用户描述的饮食文本内容',
example: '今天早餐吃了一碗燕麦粥加香蕉'
})
@IsString()
@IsNotEmpty()
text: string;
}