功能:完善聊天媒体展示与交易事件兼容

- 支持保存并展示会话关联商品主图
- 支持识别、持久化和播放 AMR 语音消息及其时长
- 补齐聊天接口 OpenAPI 契约、跨方言迁移和前端构建资源
- 兼容嵌套交易事件字段并避免改价卡片重复触发拍下事件
This commit is contained in:
Christ committed 2026-08-20 20:59:37 +08:00
1 parent 50eca2fca6
commit 58f91ac77d
58 files changed
+1040 -209

No files matched your search

+3 -1
View File
@@ -7657,6 +7657,7 @@ components:
buyer_avatar_url: {type: string}
item_id: {type: string}
item_title: {type: string}
item_image_url: {type: string}
last_message: {type: string}
last_message_at: {type: integer}
unread_count: {type: integer}
@@ -7671,8 +7672,9 @@ components:
direction: {type: string, enum: [incoming, outgoing]}
sender_id: {type: string}
sender_name: {type: string}
message_type: {type: string, enum: [text, image, video, system]}
message_type: {type: string, enum: [text, image, video, audio, system]}
content: {type: string}
media_duration: {type: integer}
status: {type: string, enum: [received, sending, sent, failed]}
read_status: {type: integer}
read_at: {type: integer}