message.ts
3.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
export default {
configName: 'Configuration name',
createTime: 'Create time',
textRule32: 'Word count does not exceed 32 words',
textRule36: 'Word count does not exceed 36 words',
textRule20: 'Word count does not exceed 20 words',
textRule255: 'Word count does not exceed 255 words',
id: 'Primary key',
messageType: 'message type',
tenantId: 'Tenant ID',
state: 'Status',
useTo: 'Use to',
updateTime: 'Update time',
emailSub: 'Email Subject',
config: {
platformType: 'Platform type',
currentConfig: 'Currently allocated',
viewConfig: 'View Configuration',
table: {
title: 'Message Configuration List',
configInfo: 'Configuration information',
},
form: {
secretIdMessage:
'Tencent Cloud: API Key Reference Address:: https://console.cloud.tencent.com/cam/capi',
accessKeyIdMessage:
'Alibaba Cloud: API Key Reference Address::https://ram.console.aliyun.com/manage/ak',
host: 'Server address',
port: 'Port',
userName: 'User name',
password: 'Password',
messageConfig: 'Message configuration',
},
},
template: {
pushParameter: 'Push parameter',
templateName: 'Template Name',
templateCode: 'Template encoding',
signName: 'Signature Information',
templateUsage: 'Template Usage',
createTemplate: 'Create message template',
table: {
title: 'Message template list',
configType: 'configuration type',
},
form: {
exclusiveNumber: 'Exclusive number',
phoneMessage:
'This parameter is invalid only when the template is in exclusive mode for outbound calls',
templateUsageMessage0:
'The user login and forgotten password template platform only provides the {code} parameter, while the initial password setting platform provides the {name} parameter',
templateUsageMessage1:
'The login template platform provides the following parameters: {\'{code: "Verification code"}\'}',
templateUsageMessage2:
'The Forgot Password Template Platform provides the following parameters:{\'{"code":"Verification code"}\'}。',
templateUsageMessage3:
'The alarm notification template platform provides the following parameters:{\'{"organization":"The organization to which the device belongs", "deviceName":"Device name", "severity":"Alarm level", "type":"Alarm type", "triggerValue":"Trigger value", "createTime":"Alarm time"}\'}。',
templateUsageMessage4:
'The clear password template platform provides the following parameters:{\'{"code":"Verification code"}\'}。',
emailParams: 'Email sending parameters',
mainSender: 'Main sender',
makeCopy: 'make a copy for',
blindCopy: 'blind carbon copy',
emailContent: 'Email content',
phoneNumber: 'Phone number',
SMSparameters: 'SMS parameters',
placeSMS: 'Example: {\'{"code": "1234"}\'}',
placeStringRule: `["123456"]`,
ruleSMS: `Please enter JSON format, for example {\'{"code": "1234"}\'}`,
example: 'Example',
stringArrayRule: `Please enter this format ["123456"]`,
},
},
log: {
sendTime: 'Sending time',
messageList: 'Message sending record',
emailList: 'Email sending records',
sms: {
messagePlatform: 'Message platform',
messageContent: 'Message content',
table: {
title: 'Message sending list',
sendPhone: 'Send mobile phone',
ali: 'ALI_CLOUD',
dingTalk: 'DING_TALK',
tencent: 'TENCENT_CLOUD',
aliVoice: 'ALI_VOICE',
enterpriseWechat: 'ENTERPRISE_WECHAT', //ENTERPRISE_WECHAT
},
},
email: {
table: {
title: 'Email sending list',
recipient: 'Recipient',
},
detailTitle: 'Email sending parameters',
},
},
addTemplateConfiguration: 'Add template configuration',
editTemplateConfiguration: 'Edit template configuration',
addSuccess: 'Add success',
editSuccess: 'Edit success',
};