feat: 专家库显示服务联系状态,未联系需先建立才能咨询
CI / 后端测试 (push) Has been cancelled
CI / 前端构建 (push) Has been cancelled

- 后端 /experts 返回 connected 字段(基于 expert_consultations 表)
- 前端卡片显示"已联系"徽章
- 未联系时按钮为"建立联系",调用 selectExpert API
- 已联系后按钮变为"咨询",可跳转对应场景

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
selfrelease
2026-08-31 14:59:18 +08:00
co-authored by Devin
parent c7f539f41a
commit f9d2d0687e
3 changed files with 70 additions and 12 deletions
+1
View File
@@ -90,6 +90,7 @@ export interface Expert {
status: 'active' | 'inactive'
created_at?: string
ratings?: ExpertRating[]
connected?: boolean
}
/** 专家评价 */