yml2213
|
66ca2693b3
|
支持客服入口按业务场景分流到客服分组
联系客服支持 scene(general/mohong),按用户与场景复用会话;摸大红入口走摸大红分组选人。
|
2026-07-16 20:05:10 +08:00 |
|
yml
|
7dc7368367
|
优化客服会话筛选
|
2026-06-18 01:08:54 +08:00 |
|
yml
|
272b2cb71e
|
优化客服群聊订单信息展示
|
2026-06-18 00:44:45 +08:00 |
|
yml
|
0a42392d5e
|
优化发布群配置与二维码池界面
|
2026-06-17 20:59:24 +08:00 |
|
yml
|
12f589f0df
|
二维码池批量上传与认证图片预览修复
- 后端新增批量创建二维码接口 POST /admin/chats/qrcodes/batch
- 前端二维码管理页支持多图拖拽批量上传
- 注册 qrcode 图片压缩场景(maxSide=2560, quality=0.95)
- 后端 normalizeScene 注册 qrcode scene
- 增强 AuthImage 组件支持 el-image 大图预览(previewSrcList)
- 修复 WithdrawalDetailDialog 提现凭证图片 401 问题
- 删除重复的 components/AuthImage.vue,统一使用共享组件
- 提交3剩余: 会话列表群类型图标、发布成功跳群、管理端路由等
|
2026-06-17 17:57:05 +08:00 |
|
 yml2213andClaude Opus 4.8
|
e75a39b03a
|
新增消息已读状态
复用 chat_participants.last_read_at 推导已读,无需新表/迁移。
- 后端:MessageDTO 增加 is_read,toMessageDTOs 按「全部已读」语义计算
(所有其他参与者均已读才算已读,1对1 即对方已读);MarkRead 成功后
推送 conversation_read 事件(含 reader 与 read_at),NotifyConversation
与 NotifyAllAdmins 双通道通知,使发送方/客服实时刷新已读
- 前端:ChatMessage 增加 is_read,ChatView/AdminChatsView/MobileChatView
在自己的消息下渲染「已读/未读」;收到 conversation_read 且本端仍有
未获回执的自己消息时才重载,避免无谓请求
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-16 22:22:05 +08:00 |
|
yml2213
|
9d7184ecde
|
优化了消息数量,筛选和顶部部分
|
2026-06-13 19:03:29 +08:00 |
|
yml2213
|
500f511185
|
增加前端格式检查配置
|
2026-06-08 06:40:33 +08:00 |
|
yml
|
92c603794a
|
管理员可以看到所有会话了
|
2026-06-05 19:43:55 +08:00 |
|
 ymlandClaude Opus 4.6
|
59093f8fd5
|
feat: 添加客服在线状态和聊天粘贴图片功能
**客服在线状态:**
- 后端:添加 admin_users.support_status 字段(online/offline/busy)
- 接口:PUT /admin/me/support-status 更新状态
- 前端:管理员顶部导航显示状态切换器(仅客服权限可见)
- 转接对话框显示客服在线状态和智能排序(在线优先)
**聊天粘贴图片:**
- 用户端、移动端、管理端聊天输入框支持 Ctrl+V/Cmd+V 直接粘贴图片
- 自动调用图片压缩和上传逻辑,与文件选择上传保持一致
- 最多支持粘贴9张图片
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
2026-06-05 19:23:34 +08:00 |
|
 yml2213andClaude Opus 4.7
|
b5903a169f
|
feat: Features架构迁移 - P0和P1部分完成
## 完成的工作
### P0: 基础设施准备
- 创建 features/ 和 shared/ 目录结构
- 迁移共享资源:API基础设施、工具函数、类型定义
- 迁移通用composables:useMoney, useSmsCountdown, usePricingCalculator
- 迁移全局样式文件
- 建立模块化导出系统
### P1.1: 钱包模块 (wallet)
- 迁移 API: wallet.ts
- 迁移 Views: WalletView.vue
- 新增 Composable: useWallet.ts (封装钱包状态管理)
- 更新导入路径到 shared/
### P1.2: 聊天模块 (chats)
- 迁移 API: chats.ts
- 迁移 Views: ChatView, MessagesView (桌面+移动)
- 迁移 Composables: useChatSSE.ts
- 迁移 Components: ChatAttachmentImage.vue
- 更新导入路径到 shared/
## 技术改进
- 修复 shared/composables 导出问题 (default → 命名导出)
- 修复 shared/api/client.ts 类型导入路径
- 建立清晰的模块边界和导出规范
## 文档
- 添加完整的迁移计划文档
- 添加进度跟踪文档
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-06-04 08:38:36 +08:00 |
|