zhengyiming
2025-03-21 6a5d66d21df56c4549648b259609419e357e9470
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 || {}),
  });
}