import { handle } from '../index'

const suffix = 'api'

//  操作记录 > 列表
export const getOperationLogList = (params: any) => handle({
  url: `/${suffix}/operLog/list`,
  method: 'post',
  params
})
//  操作记录 > 导出
export const operLogExport = (params: any) => handle({
  url: `/${suffix}/operLog/export`,
  method: 'post',
  params,
  config: {responseType: 'blob'}
})
