新增home页面

This commit is contained in:
X1627315083
2025-11-17 14:13:39 +08:00
parent b9c2130ccb
commit 91e2822581
12 changed files with 270 additions and 3 deletions

View File

@@ -149,4 +149,20 @@ interface AIConversation {
sessionId: string | number //用户ID
gender: 'male' | 'female' //性别
}
export const streamChatAddress = '/api/llm/streamChat'
export const streamChatAddress = '/api/llm/streamChat'
/**
* 添加试穿效果意见和建议
* @param data 添加试穿效果意见和建议数据
* @param data.tryOnEffectsId 试穿效果id
* @param data.visitRecordId 进店记录id
* @param data.customerId 顾客id
* @param data.suggestion 意见和建议
*/
export function addTryOnEffectComment(data: Object) {
return request({
url: '/api/try-on-effects/add-comment',
method: 'post',
data,
})
}