2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-07 16:47:14 +08:00

feat: 备份账号设置

This commit is contained in:
2026-01-19 23:05:20 +08:00
parent 30f94c920c
commit ddd19f1597
15 changed files with 772 additions and 14 deletions

View File

@@ -0,0 +1,15 @@
import { http } from '@/utils'
export default {
// 获取备份账号列表
list: (page: number, limit: number): any =>
http.Get('/backup_account', { params: { page, limit } }),
// 获取备份账号
get: (id: number): any => http.Get(`/backup_account/${id}`),
// 创建备份账号
create: (data: any): any => http.Post('/backup_account', data),
// 更新备份账号
update: (id: number, data: any): any => http.Put(`/backup_account/${id}`, data),
// 删除备份账号
delete: (id: number): any => http.Delete(`/backup_account/${id}`)
}