2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 12:23:35 +08:00

feat: apache

This commit is contained in:
2026-01-13 00:39:34 +08:00
parent cd85032ecb
commit 02e0aef265
10 changed files with 317 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
import { http } from '@/utils'
export default {
// 负载状态
load: (): any => http.Get('/apps/apache/load'),
// 获取配置
config: (): any => http.Get('/apps/apache/config'),
// 保存配置
saveConfig: (config: string): any => http.Post('/apps/apache/config', { config }),
// 获取错误日志
errorLog: (): any => http.Get('/apps/apache/error_log'),
// 清空错误日志
clearErrorLog: (): any => http.Post('/apps/apache/clear_error_log')
}