perf:修复健康数据
This commit is contained in:
@@ -132,4 +132,17 @@ export class FoodConfirmationRequestDto {
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
imageUrl?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* 文本食物分析请求DTO
|
||||
*/
|
||||
export class TextFoodAnalysisRequestDto {
|
||||
@ApiProperty({
|
||||
description: '用户描述的饮食文本内容',
|
||||
example: '今天早餐吃了一碗燕麦粥加香蕉'
|
||||
})
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
text: string;
|
||||
}
|
||||
Reference in New Issue
Block a user