init
This commit is contained in:
24
src/api/log/operation.js
Normal file
24
src/api/log/operation.js
Normal file
@@ -0,0 +1,24 @@
|
||||
import request from "@/utils/request.js";
|
||||
|
||||
//查询操作日志
|
||||
export const getOperateLog = (params) => {
|
||||
return request({
|
||||
url: "/log/log/list",
|
||||
method: "get",
|
||||
params
|
||||
});
|
||||
};
|
||||
//查询操作日志详情
|
||||
export const getOperateLogDetail = (operId) => {
|
||||
return request({
|
||||
url: `/log/log/${operId}`,
|
||||
method: "get"
|
||||
});
|
||||
};
|
||||
//删除操作日志
|
||||
export const deleteOperateLog = (operIds) => {
|
||||
return request({
|
||||
url: `/log/log/${operIds}`,
|
||||
method: "delete"
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user