feat(api): Add getClient API endpoint to retrieve subscription applications

This commit is contained in:
web
2025-08-13 07:35:58 -07:00
committed by speakeloudest
parent 688efcf29b
commit 5d8b22b81b
30 changed files with 1024 additions and 281 deletions
+28 -6
View File
@@ -21,7 +21,7 @@
"config": {
"description": "管理訂閱系統設置",
"singleSubscriptionMode": "單一訂閱模式",
"singleSubscriptionModeDescription": "限制用戶只能有一個有效的訂閱。現有訂閱不受影響",
"singleSubscriptionModeDescription": "限制用戶只能有一個有效的訂閱。現有訂閱不受影響",
"subscriptionDomain": "訂閱域名",
"subscriptionDomainDescription": "訂閱鏈接的自定義域名",
"subscriptionDomainPlaceholder": "輸入訂閱域名,每行一個",
@@ -34,7 +34,7 @@
"userAgentLimit": "{userAgent} 限制",
"userAgentLimitDescription": "根據 {userAgent} 啟用訪問限制",
"userAgentList": "{userAgent} 白名單",
"userAgentListDescription": "允許的 {userAgent} 用於訂閱訪問,每行一個。配置的應用程序 {userAgent} 將自動包含",
"userAgentListDescription": "允許的 {userAgent} 用於訂閱訪問,每行一個。配置的應用 {userAgent} 將自動包含",
"userAgentListPlaceholder": "輸入允許的 {userAgent},每行一個",
"wildcardResolution": "通配符解析",
"wildcardResolutionDescription": "啟用訂閱的通配符域名解析"
@@ -47,8 +47,29 @@
"icon": "圖標 URL 或 base64 編碼",
"name": "客戶端顯示名稱",
"outputFormat": "訂閱配置文件格式",
"proxyTemplate": "訂閱鏈接模板,支持變量:",
"template": "訂閱配置模板,支持各種變量",
"schema": {
"base64Encoding": "Base64 編碼",
"functions": "支持的函數:",
"jsonStringify": "將 JSON 對象轉換為字符串",
"nameVariable": "網站名稱",
"title": "URL 模式模板",
"urlEncoding": "URL 編碼",
"urlVariable": "訂閱 URL",
"variables": "支持的變量:"
},
"template": {
"description": "使用 Go 模板語法生成訂閱配置文件",
"functions": "模板函數:",
"if": "條件語句",
"nodes": "代理節點列表",
"range": "迭代數組",
"siteName": "網站名稱",
"sprig": "Sprig 函數庫(字符串處理、日期等)",
"subscribeName": "訂閱名稱",
"title": "Go 模板語法",
"userInfo": "用戶信息(流量、到期等)",
"variables": "可用變量:"
},
"userAgentPrefix": "用於區分不同客戶端的客戶端標識符"
},
"editTitle": "編輯客戶端",
@@ -57,8 +78,8 @@
"icon": "圖標",
"name": "名稱",
"outputFormat": "輸出格式",
"proxyTemplate": "訂閱鏈接",
"template": "配置模板"
"schema": "URL 模式",
"template": "訂閱文件模板"
},
"tabs": {
"basic": "基本信息",
@@ -72,6 +93,7 @@
},
"outputFormats": {
"base64": "Base64",
"conf": "CONF",
"json": "JSON",
"plain": "純文本",
"yaml": "YAML"