28 Commits
Author SHA1 Message Date
pengjieandClaude 4a15ebe0d2 feat: 补充IM个人资料同步 + 群成员头像导入修复
1. 在8处头像/名称变更点补充imHelloApi.accountReg()调用,同步更新IM个人资料:
   - SysUserController.updateUserAvatar 用户换头像
   - SysUserController.appEdit 移动端编辑资料
   - SysUserController.edit 后台编辑用户
   - EmergencyProfessionUserServiceImpl.customEdit 应急人员编辑
   - EmergencyCenterAdminServiceImpl.updateAdmin 中心管理员编辑
   - HealthUserEmployeeExServiceImpl.updateUserInfo 员工编辑
   - ConDoctorApiController.update 专家端个人简介修改
   - AsyncExportService.importDoctor 批量导入医生
   所有syncImProfile方法内部try-catch兜底,失败不影响主流程。
2. AddGroupMemberDTO新增memberAvatar字段,TencentCloudImUtil.addGroupMember
   导入IM账号时传递FaceUrl,EmergencyApiServiceImpl.addGroupUser构建头像映射。
3. jeecg-system-biz/pom.xml新增health-im-api依赖。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-04 20:03:20 +08:00
pengjie 0ae963c4cf Revert "fix(im): 邀请入群时使用真实用户身份调用IM API,系统通知显示真实用户名而非administrator"
This reverts commit 07d6f21fed.
2026-08-04 19:33:13 +08:00
pengjieandClaude 07d6f21fed fix(im): 邀请入群时使用真实用户身份调用IM API,系统通知显示真实用户名而非administrator
- AddGroupMemberDTO 新增 fromAccount 内部字段
- TencentCloudImUtil 新增带 identifier 参数的 getHttpsUrl 重载
- addGroupMember 检测 fromAccount,有则用该用户 UserSig
- EmergencyApiServiceImpl.addGroupUser 传入当前登录用户ID

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-04 18:58:16 +08:00
pengjieandClaude 26ae76a398 fix(im): 创建应急群聊时群名称固定为"应急求助"
Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-04 16:18:13 +08:00
pengjieandClaude e9360d1ad9 feat(emergency): searchExpert接口返回ConDoctor专家数据 + 修复IM UserSig缓存key未区分secretKey的问题
1. searchExpert新增ConDoctor专家字段:
   - 新增ConDoctorMapper直接查询qh_con_doctor表(同库,避免跨模块依赖)
   - EmergencyProfessionUser新增17个@TableField(exist=false)字段承载专家数据
   - searchExpert方法中批量查询ConDoctor并逐字段填充
   - 用户非专家时ConDoctor字段为null
   - 更新API文档-移动端接口.md

2. IM签名缓存优化:
   - TencentCloudImUtil新增secretKey注入
   - Redis key从 silence:im_user_sig:{sdkAppId}:{id}
     改为 silence:im_user_sig:{hash(sdkAppId+secretKey)}:{id}
   - 解决secretKey变更时旧缓存签名仍被命中导致IM请求失败的问题

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-04 11:08:03 +08:00
pengjieandClaude 3aa16600d8 feat(im): 新增importAccountsWithNames方法,addGroupMember时批量导入账号名称
- 新增 importAccountsWithNames 方法,使用腾讯IM新版 AccountList 格式导入账号及昵称
- addGroupMember 改为调用新方法,一次批量导入账号+名称
- multiAccountImport 旧方法保持不变,不影响其他调用方
- AddGroupMemberDTO.memberName 移除@JsonIgnore,确保Feign跨服务传输

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-20 17:35:25 +08:00
pengjieandClaude 32d8ad3652 fix(im): 修复addGroupMember时memberName因@JsonIgnore在Feign传输中丢失
移除MemberListDTO.memberName上的@JsonIgnore注解,确保名称能通过Feign跨服务传输。
改为在发送腾讯IM API前手动移除memberName字段,避免发送IM不接受的字段。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-20 17:21:41 +08:00
pengjieandClaude b5c5251913 feat(IM): 添加群成员时同步导入成员名称
addGroupMember在导入账号后逐个调用accountImport导入成员Nick名称

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-20 16:59:44 +08:00
pengjie be701122ca fix(IM): Redis签名key加入sdkAppId,防止切换AppID后签名不匹配
- key格式: silence:im_user_sig:{sdkAppId}:{identifier}
- 切换IMConfig.sdkAppId后自动缓存miss,重新生成正确签名
- 旧key作为孤儿数据24小时后自然过期
2026-07-20 10:43:07 +08:00
pengjie fecfb2a355 fix(IM): addGroupMember前先multiAccountImport,防止账号未注册导致添加失败 2026-07-20 10:25:08 +08:00
pengjie 66b77cc231 fix(im): sendGroupMsgArticle补充businessID协议字段,修复客户端显示[自定义消息] 2026-07-07 14:12:03 +08:00
pengjie 9b35cfe9c2 chore(im): 文章推送增加请求参数日志,便于验证businessId等信息 2026-07-07 13:51:58 +08:00
pengjie 4898a63b4b feat(emergency): 宣教推送IM消息改为独立方法sendGroupMsgArticle,不影响已有业务
- 新增 TencentCloudImUtil.sendGroupMsgArticle: From_Account生效、不覆盖businessID、fromAdmin动态判断
- 新增 TXController.sendGroupMsgArticle / IMHelloApi.sendGroupMsgArticle
- FirstAidPushServiceImpl 推送人改为当前登录用户,调用新方法
2026-07-07 13:43:21 +08:00
pengjie 37132eeeb6 fix(im): sendGroupMsgText取消From_Account注释,使fromUserId生效 2026-07-07 12:07:17 +08:00
pengjie 945c0b46d7 @
feat(emergency): 新增腾讯IM验证的群成员列表接口,优化searchEmployee模糊搜索

- 新增 /order/getActualGroupMemberList 接口,先查本地参与人员再调腾讯IM验证,以交集为准
- 新增 GetGroupMemberInfoVO,封装腾讯IM get_group_member_info API响应
- TencentCloudImUtil 新增 getGroupMemberInfo 方法,TXController/IMHelloApi 新增对应端点
- GroupMemberVO 新增 isSelf 字段区分本人 (0/1),默认值 0
- searchEmployee 姓名/工号/手机号改为模糊搜索(* 包装实现)
- 修复 getActualGroupMemberList IM 调用失败时静默返回空列表的 bug,失败时降级使用本地成员
- 接口文档更新变更摘要,标明新接口替换原 /order/getGroupMemberList 地址

Co-Authored-By: Claude <noreply@anthropic.com>
@
2026-07-07 09:29:19 +08:00
pengjie 8761a965aa feat(emergency): 急救宣教资源推送到应急群聊 2026-06-25 15:53:22 +08:00
lianlonggang 7775f6eef4 提交一次配置文件 2026-06-03 10:27:39 +08:00
lianlonggang 858e23a311 咨询模块及IM模块调整 2026-03-13 17:32:47 +08:00
pengjie a00d361f6b 【应急单】定时解散群聊 2026-01-08 16:59:01 +08:00
feng 9d6c2f2a14 全局替换小助手字样 2025-12-10 15:55:53 +08:00
feng 9916e792db 去掉注册腾讯IM账号拼接小助手字样 2025-12-08 15:22:59 +08:00
pengjie 019c7d600a 【im消息】下载地址替换,数据修复方法 2025-11-27 16:58:23 +08:00
pengjie 56697c1a78 【im消息】下载地址替换,数据修复方法 2025-11-27 16:30:31 +08:00
lianlonggang 105bf98d25 docker配置调整 2025-11-27 10:19:37 +08:00
pengjie 92033a17cb 【应急】IM视频通话 2025-11-07 15:30:34 +08:00
feng df2b136b3e dockerfile old 2025-07-11 09:36:07 +08:00
DESKTOP-BLB5287\FP c91978f42a dockerfile 2025-07-02 09:11:48 +08:00
DESKTOP-BLB5287\FP 0e52aff1f1 新疆后端项目 2025-06-30 14:31:09 +08:00