zhengyiming
2025-02-19 c8724a3d88607516fe95ffb91e4b52c99405d063
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
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 获取支付宝充值码信息 POST /api/Fund/GetAliRechargeCodeInfo */
export async function getAliRechargeCodeInfo(
  body: API.AliRechargeInput,
  options?: API.RequestConfig
) {
  return request<API.AliRechargeInfoAjaxResponse>('/api/Fund/GetAliRechargeCodeInfo', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取支付宝充值状态 GET /api/Fund/GetAliRechargeStatus */
export async function getAliRechargeStatus(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetAliRechargeStatusParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/Fund/GetAliRechargeStatus', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取微信充值码信息 POST /api/Fund/GetWxRechargeCodeInfo */
export async function getWxRechargeCodeInfo(
  body: API.WxRechargeInput,
  options?: API.RequestConfig
) {
  return request<API.WxRechargeInfoAjaxResponse>('/api/Fund/GetWxRechargeCodeInfo', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 获取微信充值状态 GET /api/Fund/GetWxRechargeStatus */
export async function getWxRechargeStatus(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetWxRechargeStatusParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/Fund/GetWxRechargeStatus', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}