广丰卷烟厂数采质量分析系统
baoshiwei
22 小时以前 d143af7023cfd4a0ced6f0ecf04ae3b3a06fd1dc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { request } from '@/service/request';
 
/** 获取操作日志记录列表 */
export function fetchGetOperLogList(params?: Api.Monitor.OperLogSearchParams) {
  return request<Api.Monitor.OperLogList>({
    url: '/monitor/operlog/list',
    method: 'get',
    params
  });
}
 
/** 批量删除操作日志记录 */
export function fetchBatchDeleteOperLog(operIds: CommonType.IdType[]) {
  return request<boolean>({
    url: `/monitor/operlog/${operIds.join(',')}`,
    method: 'delete'
  });
}
 
/** 清理操作日志记录 */
export function fetchCleanOperLog() {
  return request<boolean>({
    url: '/monitor/operlog/clean',
    method: 'delete'
  });
}