mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 18:27:13 +08:00
feat: 支持memcached
This commit is contained in:
8
web/src/api/apps/memcached/index.ts
Normal file
8
web/src/api/apps/memcached/index.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { http } from '@/utils'
|
||||
|
||||
// 负载状态
|
||||
export const getLoad = () => http.Get('/apps/memcached/load')
|
||||
// 获取配置
|
||||
export const getConfig = () => http.Get('/apps/memcached/config')
|
||||
// 保存配置
|
||||
export const updateConfig = (config: string) => http.Post('/apps/memcached/config', { config })
|
||||
Reference in New Issue
Block a user