wupengfei
2025-02-17 3b746473e38155d69a73f4f8185faf6d56406c07
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 获取平台服务支付二维码 POST /api/PlatformServicePay/GetPlaformServicePayQRCode */
export async function getPlaformServicePayQRCode(
  body: API.GetPlaformServicePayQRCodeInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/PlatformServicePay/GetPlaformServicePayQRCode', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取平台服务详情 POST /api/PlatformServicePay/GetPlatformServicePayDetail */
export async function getPlatformServicePayDetail(
  body: API.QueryPlatformServicePayDetailInput,
  options?: API.RequestConfig
) {
  return request<API.PlatformServicePayDetailDto>(
    '/api/PlatformServicePay/GetPlatformServicePayDetail',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 获取平台服务开票详情 POST /api/PlatformServicePay/GetPlatformServicePayInvoicingDetail */
export async function getPlatformServicePayInvoicingDetail(
  body: API.QueryPlatformServiceInvoicingDetailInput,
  options?: API.RequestConfig
) {
  return request<API.PlatformServicePayInvoicingDetailDto>(
    '/api/PlatformServicePay/GetPlatformServicePayInvoicingDetail',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 获取平台服务开票分页列表 POST /api/PlatformServicePay/GetPlatformServicePayInvoicingPage */
export async function getPlatformServicePayInvoicingPage(
  body: API.QueryPlatformServiceInvoicingListInput,
  options?: API.RequestConfig
) {
  return request<API.PlatformServicePayInvoicingListDtoPageOutput>(
    '/api/PlatformServicePay/GetPlatformServicePayInvoicingPage',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 获取平台服务分页列表 POST /api/PlatformServicePay/GetPlatformServicePayPage */
export async function getPlatformServicePayPage(
  body: API.QueryPlatformServicePayListInput,
  options?: API.RequestConfig
) {
  return request<API.PlatformServicePayListDtoPageOutput>(
    '/api/PlatformServicePay/GetPlatformServicePayPage',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 获取平台服务支付状态 GET /api/PlatformServicePay/GetPlatformServicePayStatus */
export async function getPlatformServicePayStatus(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetPlatformServicePayStatusParams,
  options?: API.RequestConfig
) {
  return request<API.PayStatusEnum>('/api/PlatformServicePay/GetPlatformServicePayStatus', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 设置平台服务入账状态 POST /api/PlatformServicePay/SetPlatformServicePayCreditedStatus */
export async function setPlatformServicePayCreditedStatus(
  body: API.UpdatePlatformServicePayCreditedStatusInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/PlatformServicePay/SetPlatformServicePayCreditedStatus', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 设置平台服务开票状态 POST /api/PlatformServicePay/SetPlatformServicePayInvoicingStatus */
export async function setPlatformServicePayInvoicingStatus(
  body: API.UpdatePlatformServicePayInvoicingStatusInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/PlatformServicePay/SetPlatformServicePayInvoicingStatus', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 此处后端没有提供注释 GET /api/PlatformServicePay/TestGetPlatformServicePay */
export async function testGetPlatformServicePay(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APItestGetPlatformServicePayParams,
  options?: API.RequestConfig
) {
  return request<API.PlatformServicePayDetailDto>(
    '/api/PlatformServicePay/TestGetPlatformServicePay',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
 
/** 此处后端没有提供注释 GET /api/PlatformServicePay/TestPayNotify */
export async function testPayNotify(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APItestPayNotifyParams,
  options?: API.RequestConfig
) {
  return request<any>('/api/PlatformServicePay/TestPayNotify', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}