This commit is contained in:
xiangheng
2023-11-24 16:46:30 +08:00
commit 8eb583397d
611 changed files with 28854 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import request from '@/utils/request'
// 管理员列表
export function adminLists(params: any) {
return request.get({ url: '/system/admin/list', params })
}
// 管理员添加
export function adminAdd(params: any) {
return request.post({ url: '/system/admin/add', params })
}
// 管理员编辑
export function adminDetail(params: any) {
return request.get({ url: '/system/admin/detail', params })
}
// 管理员编辑
export function adminEdit(params: any) {
return request.post({ url: '/system/admin/edit', params })
}
// 管理员删除
export function adminDelete(params: any) {
return request.post({ url: '/system/admin/del', params })
}
// 管理员删除
export function adminStatus(params: any) {
return request.post({ url: '/system/admin/disable', params })
}