mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-09 23:36:09 +00:00
v2.0
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* 系统更新日志 api 封装
|
||||
*
|
||||
* @Author: 卓大
|
||||
* @Date: 2022-09-26 14:53:50
|
||||
* @Copyright 1024创新实验室
|
||||
*/
|
||||
import { postRequest, getRequest } from '/@/lib/axios';
|
||||
|
||||
export const changeLogApi = {
|
||||
/**
|
||||
* 分页查询 @author 卓大
|
||||
*/
|
||||
queryPage : (param) => {
|
||||
return postRequest('/changeLog/queryPage', param);
|
||||
},
|
||||
|
||||
/**
|
||||
* 增加 @author 卓大
|
||||
*/
|
||||
add: (param) => {
|
||||
return postRequest('/changeLog/add', param);
|
||||
},
|
||||
|
||||
/**
|
||||
* 修改 @author 卓大
|
||||
*/
|
||||
update: (param) => {
|
||||
return postRequest('/changeLog/update', param);
|
||||
},
|
||||
|
||||
/**
|
||||
* 删除 @author 卓大
|
||||
*/
|
||||
delete: (id) => {
|
||||
return getRequest(`/changeLog/delete/${id}`);
|
||||
},
|
||||
|
||||
/**
|
||||
* 批量删除 @author 卓大
|
||||
*/
|
||||
batchDelete: (idList) => {
|
||||
return postRequest('/changeLog/batchDelete', idList);
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user