wupengfei
2 天以前 1138cd0ece8fda7dda4508e8cf4bf050f53c0f0a
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
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 查询企业合作钱包充值明细 GET /api/user/enterpriseCooperationWallet/getCooperationWalletRechargeTransaction */
export async function getCooperationWalletRechargeTransaction(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetCooperationWalletRechargeTransactionParams,
  options?: API.RequestConfig
) {
  return request<API.GetCooperationWalletRechargeTransactionQueryResult>(
    '/api/user/enterpriseCooperationWallet/getCooperationWalletRechargeTransaction',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
 
/** 查询企业合作钱包充值交易分页列表数据 POST /api/user/enterpriseCooperationWallet/getCooperationWalletRechargeTransactions */
export async function getCooperationWalletRechargeTransactions(
  body: API.GetCooperationWalletRechargeTransactionsQuery,
  options?: API.RequestConfig
) {
  return request<API.GetCooperationWalletRechargeTransactionsQueryResult>(
    '/api/user/enterpriseCooperationWallet/getCooperationWalletRechargeTransactions',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json-patch+json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 查询企业合作钱包分页列表数据 POST /api/user/enterpriseCooperationWallet/getCooperationWallets */
export async function getCooperationWallets(
  body: API.GetCooperationWalletsQuery,
  options?: API.RequestConfig
) {
  return request<API.GetCooperationWalletsQueryResult>(
    '/api/user/enterpriseCooperationWallet/getCooperationWallets',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json-patch+json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 查询企业收款账户 GET /api/user/enterpriseCooperationWallet/getEnterpriseReceiveAccount */
export async function getEnterpriseReceiveAccount(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetEnterpriseReceiveAccountParams,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseReceiveAccountQueryResult>(
    '/api/user/enterpriseCooperationWallet/getEnterpriseReceiveAccount',
    {
      method: 'GET',
      params: {
        ...params,
        request: undefined,
        ...params['request'],
      },
      ...(options || {}),
    }
  );
}
 
/** 充值企业合作钱包 POST /api/user/enterpriseCooperationWallet/rechargeCooperationWallet */
export async function rechargeCooperationWallet(
  body: API.RechargeCooperationWalletCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/enterpriseCooperationWallet/rechargeCooperationWallet', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 保存企业收款账户 POST /api/user/enterpriseCooperationWallet/saveEnterpriseReceiveAccount */
export async function saveEnterpriseReceiveAccount(
  body: API.SaveEnterpriseReceiveAccountCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/enterpriseCooperationWallet/saveEnterpriseReceiveAccount', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 确认充值企业合作钱包 POST /api/user/enterpriseCooperationWallet/sureRechargeCooperationWallet */
export async function sureRechargeCooperationWallet(
  body: API.SureRechargeCooperationWalletCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/enterpriseCooperationWallet/sureRechargeCooperationWallet', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}