diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json
index 1b4471d5a..c5b0ab39d 100644
--- a/src/i18n/langs/en.json
+++ b/src/i18n/langs/en.json
@@ -1455,6 +1455,7 @@
}
},
"setting": {
+ "Custom": "Custom",
"CleanHelpText": " Regular cleanup tasks will be executed at 2 o'clock in the morning every day, and the cleaned data cannot be recovered",
"Applets": "Applets",
"EndpointListHelpMessage": "The service endpoint is the address (port) for the user to access the service. When the user connects to the asset, the service endpoint will be selected according to the endpoint rules and asset tags, and the connection will be established as the access entry to realize the distributed connection of assets.",
diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json
index 3d5cd9809..82b643aee 100644
--- a/src/i18n/langs/ja.json
+++ b/src/i18n/langs/ja.json
@@ -1450,6 +1450,7 @@
}
},
"setting": {
+ "Custom": "カスタムです",
"CleanHelpText": " 定期清理タスクは毎日午前2時に実行され、クリーンアップ後のデータは復元できません",
"OAuth2LogoTip": "ヒント: 認証サービス プロバイダー (推奨画像サイズ: 64px*64px)",
"EndpointListHelpMessage": "サービスエンドポイントは、ユーザーがサービスにアクセスするためのアドレス(ポート)です。ユーザーがアセットに接続すると、エンドポイントルールとアセットタグに従ってサービスエンドポイントが選択され、接続がアクセスエントリとして確立されます。資産の分散接続を実現します。",
diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json
index 042301535..ca007d3fb 100644
--- a/src/i18n/langs/zh.json
+++ b/src/i18n/langs/zh.json
@@ -1450,6 +1450,7 @@
"PublishStatus": "发布状态"
},
"setting": {
+ "Custom": "自定义",
"CleanHelpText": "定期清理任务会在 每天凌晨 2 点执行, 清理后的数据将无法恢复",
"OAuth2LogoTip": "提示:认证服务提供商(建议图片大小为: 64px*64px)",
"Applets": "远程应用",
diff --git a/src/views/settings/SMS/SMSCustom.vue b/src/views/settings/SMS/SMSCustom.vue
new file mode 100644
index 000000000..24f77f5bd
--- /dev/null
+++ b/src/views/settings/SMS/SMSCustom.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
diff --git a/src/views/settings/SMS/index.vue b/src/views/settings/SMS/index.vue
index bc25436af..19856e3db 100644
--- a/src/views/settings/SMS/index.vue
+++ b/src/views/settings/SMS/index.vue
@@ -7,6 +7,7 @@ import GenericCreateUpdatePage from '@/layout/components/GenericCreateUpdatePage
import SMSAlibaba from './SMSAlibaba'
import SMSTencent from './SMSTencent'
import SMSHuawei from './SMSHuawei'
+import SMSCustom from './SMSCustom'
import CMPP2 from './CMPP2'
export default {
@@ -25,7 +26,7 @@ export default {
],
[
this.$t('setting.SMSProvider'), [
- 'ALIYUN', 'QCLOUD', 'HUAWEICLOUD', 'CMPP2'
+ 'ALIYUN', 'QCLOUD', 'HUAWEICLOUD', 'CMPP2', 'SMSCustom'
]
]
],
@@ -57,6 +58,13 @@ export default {
hidden: (form) => {
return form['SMS_BACKEND'] !== 'cmpp2'
}
+ },
+ SMSCustom: {
+ label: this.$t('setting.Custom'),
+ component: SMSCustom,
+ hidden: (form) => {
+ return form['SMS_BACKEND'] !== 'custom'
+ }
}
},
submitMethod() {