zhengyiming
2 天以前 a0d334f6a2dd329af28bc393e9e0c9a3625fc6ff
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
27
28
29
30
31
32
33
34
35
36
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 查询日志 POST /api/OperateHistory/GetOperateHistoryByRelationId */
export async function getOperateHistoryByRelationId(
  body: API.GetOperateHistoryInput,
  options?: API.RequestConfig
) {
  return request<API.OperateHistoryDtoPageOutput>(
    '/api/OperateHistory/GetOperateHistoryByRelationId',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 根据type查询日志 POST /api/OperateHistory/GetOperateHistoryByType */
export async function getOperateHistoryByType(
  body: API.QueryOperateHistoryByTypeInput,
  options?: API.RequestConfig
) {
  return request<API.OperateHistoryDtoPageOutput>('/api/OperateHistory/GetOperateHistoryByType', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}