You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
801 B
31 lines
801 B
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 }) |
|
}
|
|
|