Skip to content

Commit

Permalink
Merge pull request #225 from KiClover/main
Browse files Browse the repository at this point in the history
feat: add new sms provider (sms bao)
  • Loading branch information
suyuan32 authored Nov 3, 2024
2 parents 2c88eb5 + ed367c7 commit 509275c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/locales/lang/en/mcms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default {
tencent: 'Tencent Cloud',
aliyun: 'Alibaba Cloud',
uni: 'Uni SMS',
smsbao: 'SMS Bao',
},
smsLog: {
phoneNumber: 'Phone Number',
Expand Down
1 change: 1 addition & 0 deletions src/locales/lang/zh-CN/mcms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default {
tencent: '腾讯云',
aliyun: '阿里云',
uni: '合一短信',
smsbao: '短信宝',
},
smsLog: {
phoneNumber: '电话号码',
Expand Down
1 change: 1 addition & 0 deletions src/views/mcms/smsProvider/sms.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const formSchema: FormSchema[] = [
{ label: t('mcms.smsProvider.tencent'), value: 'tencent' },
{ label: t('mcms.smsProvider.aliyun'), value: 'aliyun' },
{ label: t('mcms.smsProvider.uni'), value: 'uni' },
{ label: t('mcms.smsProvider.smsbao'), value: 'smsbao' },
],
},
},
Expand Down
2 changes: 2 additions & 0 deletions src/views/mcms/smsProvider/smsProvider.data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const searchFormSchema: FormSchema[] = [
{ label: t('mcms.smsProvider.tencent'), value: 'tencent' },
{ label: t('mcms.smsProvider.aliyun'), value: 'aliyun' },
{ label: t('mcms.smsProvider.uni'), value: 'uni' },
{ label: t('mcms.smsProvider.smsbao'), value: 'smsbao' },
],
},
},
Expand All @@ -86,6 +87,7 @@ export const formSchema: FormSchema[] = [
{ label: t('mcms.smsProvider.tencent'), value: 'tencent' },
{ label: t('mcms.smsProvider.aliyun'), value: 'aliyun' },
{ label: t('mcms.smsProvider.uni'), value: 'uni' },
{ label: t('mcms.smsProvider.smsbao'), value: 'smsbao' },
],
},
},
Expand Down

0 comments on commit 509275c

Please sign in to comment.