更新
This commit is contained in:
+4
-1
@@ -184,7 +184,10 @@ const api = {
|
||||
saveConfig: (config) => apiRequest('/config', 'POST', config),
|
||||
|
||||
// 重启服务
|
||||
restartService: () => apiRequest('/config/restart', 'POST')
|
||||
restartService: () => apiRequest('/config/restart', 'POST'),
|
||||
|
||||
// 域名信息查询
|
||||
domainInfo: (domain) => apiRequest(`/domain-info?domains=${encodeURIComponent(domain)}`, 'GET')
|
||||
};
|
||||
|
||||
// 导出API工具
|
||||
|
||||
Reference in New Issue
Block a user