refactor(core): 统一自定义域名服务配置字段名

- 将自定义域名服务配置中的 `api_url` 字段重命名为 `base_url`
- 将 `domain` 字段重命名为 `default_domain`
- 更新相关的前端表单、后端API及数据库查询逻辑以保持兼容性
- 在注册任务处理中自动处理新旧字段名的转换
This commit is contained in:
cnlimiter
2026-03-16 01:04:58 +08:00
parent abbb3a3cf6
commit e2ef325eba
4 changed files with 22 additions and 7 deletions

View File

@@ -225,6 +225,10 @@ class ApiClient {
return this.request(path, { ...options, method: 'PUT', body });
}
patch(path, body, options = {}) {
return this.request(path, { ...options, method: 'PATCH', body });
}
delete(path, options = {}) {
return this.request(path, { ...options, method: 'DELETE' });
}