wupengfei
2025-04-17 404a6138ba3594a66d1b66e2bc79b9b3132836c5
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
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 客户线下充值 POST /api/Recharge/CreateOfflineRecharge */
export async function createOfflineRecharge(
  body: API.CreateRechargeInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Recharge/CreateOfflineRecharge', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 账号余额--获取客户的充值记录 POST /api/Recharge/GetCustomerAmountList */
export async function getCustomerAmountList(
  body: API.CusmterAmountListInput,
  options?: API.RequestConfig
) {
  return request<API.CusmterAmountDtoPageOutput>('/api/Recharge/GetCustomerAmountList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 账户余额--充值记录 获取某个客户的充值记录 POST /api/Recharge/GetCustomerRechargeList */
export async function getCustomerRechargeList(
  body: API.CustomerRechargeListInput,
  options?: API.RequestConfig
) {
  return request<API.RechargeDtoPageOutput>('/api/Recharge/GetCustomerRechargeList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 账户余额--接受打赏  某个客户的打赏记录 POST /api/Recharge/GetCustomerRewardList */
export async function getCustomerRewardList(
  body: API.CustomerRechargeListInput,
  options?: API.RequestConfig
) {
  return request<API.CusmterRewardDtoPageOutput>('/api/Recharge/GetCustomerRewardList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 客户充值 POST /api/Recharge/GetRechargeList */
export async function getRechargeList(body: API.RechargeListInput, options?: API.RequestConfig) {
  return request<API.RechargeDtoPageOutput>('/api/Recharge/GetRechargeList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 平台打赏 POST /api/Recharge/GetRewardList */
export async function getRewardList(body: API.CusmterRewardListInput, options?: API.RequestConfig) {
  return request<API.CusmterRewardDtoPageOutput>('/api/Recharge/GetRewardList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}