feat(im): 新增QQBot即时通讯平台集成支持
完整实现QQBot的IM适配器功能,包括客户端封装、WebSocket长连接管理、消息收发与事件解析;更新后端合法平台校验列表与适配器注册配置;补充前端平台选型选项、logo资源、多语言文案以及渠道配置表单,同时添加对应的单元测试。
This commit is contained in:
@@ -259,6 +259,7 @@ import telegramLogo from '@/assets/img/im/telegram.svg';
|
||||
import dingtalkLogo from '@/assets/img/im/dingtalk.svg';
|
||||
import mattermostLogo from '@/assets/img/im/mattermost.svg';
|
||||
import wechatLogo from '@/assets/img/im/wechat.svg';
|
||||
import qqbotLogo from '@/assets/img/im/qqbot.svg';
|
||||
|
||||
const PLATFORM_LOGO: Record<string, string> = {
|
||||
wecom: wecomLogo,
|
||||
@@ -268,6 +269,7 @@ const PLATFORM_LOGO: Record<string, string> = {
|
||||
dingtalk: dingtalkLogo,
|
||||
mattermost: mattermostLogo,
|
||||
wechat: wechatLogo,
|
||||
qqbot: qqbotLogo,
|
||||
};
|
||||
|
||||
const platformLogo = (p: string): string => (p ? PLATFORM_LOGO[p] || '' : '');
|
||||
|
||||
Reference in New Issue
Block a user