feat: now client part supports multiple channels for the same type (#50)

This commit is contained in:
JustSong
2023-05-06 10:15:18 +08:00
parent 3a8d625201
commit 91725aeba7
16 changed files with 1070 additions and 131 deletions
+38
View File
@@ -0,0 +1,38 @@
export const CHANNEL_OPTIONS = [
{ key: 'email', text: '邮件', value: 'email', color: '#4285f4' },
{ key: 'test', text: '微信测试号', value: 'test', color: '#2cbb00' },
{
key: 'corp_app',
text: '企业微信应用号',
value: 'corp_app',
color: '#5fc9ec',
},
{ key: 'corp', text: '企业微信群机器人', value: 'corp', color: '#019d82' },
{ key: 'lark', text: '飞书群机器人', value: 'lark', color: '#00d6b9' },
{ key: 'ding', text: '钉钉群机器人', value: 'ding', color: '#007fff' },
{ key: 'bark', text: 'Bark App', value: 'bark', color: '#ff3b30' },
{
key: 'client',
text: 'WebSocket 客户端',
value: 'client',
color: '#121212',
},
{
key: 'telegram',
text: 'Telegram 机器人',
value: 'telegram',
color: '#29a9ea',
},
{
key: 'discord',
text: 'Discord 群机器人',
value: 'discord',
color: '#404eed',
},
{
key: 'none',
text: '不推送',
value: 'none',
color: '#808080',
},
];
+2 -1
View File
@@ -1,3 +1,4 @@
export * from './toast.constants';
export * from './user.constants';
export * from './common.constant';
export * from './common.constant';
export * from './channel.constants';