feat: 诊所问题优化

This commit is contained in:
李琦
2026-07-30 07:37:29 +08:00
parent 5629955dd3
commit f9dd9ad3a2
6 changed files with 400 additions and 254 deletions

View File

@@ -63,6 +63,7 @@ export async function sendFollowUpDrugAssistantMessage({
answerStatus,
illnessInfo,
supplement,
hasVisited,
}) {
const payload = {
flow: 'follow_up_drug',
@@ -74,6 +75,8 @@ export async function sendFollowUpDrugAssistantMessage({
// 症状摘要给医生聊天侧展示
illness_info: illnessInfo || '',
supplement: supplement || '',
// 是否曾线下就诊(与药店就诊经历字段对齐)
has_visited: hasVisited != null && hasVisited !== '' ? String(hasVisited) : '',
};
await sendToUserApi({
room_id: roomId,