feat(sms): Update locales

This commit is contained in:
web@ppanel
2025-01-14 16:15:25 +07:00
parent 7f0f5ce9db
commit 938363b1eb
29 changed files with 190 additions and 535 deletions
+10 -3
View File
@@ -228,6 +228,7 @@ declare namespace API {
enable_ip_register_limit: boolean;
ip_register_limit: number;
ip_register_limit_duration: number;
sms: SmsAuthenticateConfig;
};
type ResetPasswordRequest = {
@@ -318,13 +319,17 @@ declare namespace API {
site_logo: string;
};
type SmsAuthenticateConfig = {
sms_enabled: boolean;
sms_limit: number;
sms_interval: number;
sms_expire_time: number;
};
type SmsConfig = {
sms_enabled: boolean;
sms_api_url: string;
sms_api_foreign_url: string;
sms_key: string;
sms_secret: string;
sms_region: string;
sms_template: string;
sms_template_code: string;
sms_template_param: string;
@@ -478,6 +483,8 @@ declare namespace API {
type User = {
id: number;
email: string;
telephone: string;
telephone_area_code: string;
avatar: string;
balance: number;
commission: number;
+10 -3
View File
@@ -406,6 +406,7 @@ declare namespace API {
enable_ip_register_limit: boolean;
ip_register_limit: number;
ip_register_limit_duration: number;
sms: SmsAuthenticateConfig;
};
type RenewalOrderRequest = {
@@ -495,13 +496,17 @@ declare namespace API {
site_logo: string;
};
type SmsAuthenticateConfig = {
sms_enabled: boolean;
sms_limit: number;
sms_interval: number;
sms_expire_time: number;
};
type SmsConfig = {
sms_enabled: boolean;
sms_api_url: string;
sms_api_foreign_url: string;
sms_key: string;
sms_secret: string;
sms_region: string;
sms_template: string;
sms_template_code: string;
sms_template_param: string;
@@ -649,6 +654,8 @@ declare namespace API {
type User = {
id: number;
email: string;
telephone: string;
telephone_area_code: string;
avatar: string;
balance: number;
commission: number;