1
jhzh
2025-04-20 d157d0892f1ab5517dbe3a08328ccb9c4e446615
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
169
170
171
172
173
174
175
176
177
178
179
180
 
import Serve from '@/api/serve'
 
class Wallet {
 
    // 提币记录
    static withdrawalRecord() {
        return Serve.post(`/user/withdrawalRecord`);
    }
    // PayPal支付
    static rechargeManualPost(data) {
        return Serve.post(`/user/rechargeManualPost`, data);
    }
    // PayPal账号
    static paypal() {
        return Serve.get(`/user/paypal`);
    }
    // PayPal支付记录
    static rechargeManualLog(data) {
        return Serve.post(`/user/rechargeManualLog`,data);
    }
    // 充值记录
    static depositHistory(data) {
        return Serve.post(`/user/depositHistory`,data);
    }
 
    // 钱包划转记录
    static transferRecord() {
        return Serve.post(`/user/transferRecord`);
    }
    // 申购记录
    static subscribeRecords(data) {
        return Serve.post(`/user/subscribeRecords`,data);
    }
    //配售记录
    static placementRecords(data) {
        return Serve.post(`/user/placementRecords`,data);
    }
    
    // 个人资产管理
    static personalAssets() {
        return Serve.post(`/user/personalAssets`);
    }
 
    // 各个币种的资产
    static fundAccount(data) {
        return Serve.post(`/user/fundAccount`, data);
    }
 
    // 代币以及对应的余额
    static tokenList(data) {
        return Serve.post(`/user/tokenList`, data);
    }
 
    // 资金划转
    static fundsTransfer(data) {
        return Serve.post(`/user/appFundsTransfer`, data);
    }
 
    // 生成充值地址
    static walletImage(data) {
        return Serve.post(`/user/walletImage`, data);
    }
 
    // 提交充值
    static recharge(data) {
        return Serve.post(`/user/recharge`, data);
    }
 
    // 提交提币
    static withdraw(data) {
        return Serve.post(`/user/withdraw`, data);
    }
 
    // 提币地址管理
    static getUserWithdrawAdress(data) {
        return Serve.post(`/user/withdrawalAddressManagement`, data);
    }
    
    // 编辑提币地址
    static editUserWithdrawAdress (data) {
        return Serve.post(`/user/editUserAdress`, data);
    }
 
    // 删除提币地址
    static delUserWithdrawAdress(data) {
        return Serve.post(`/user/withdrawalAddressManagement`, data);
    }
 
    // 添加提币地址
    static addUserWithdrawAdress(data) {
        return Serve.post(`/`, data);
    }
 
    static withdrawalSelectAddress() {
        return Serve.post(`/user/withdrawalSelectAddress`);
    }
 
    static addWithdrawAddress(data) {
        return Serve.post(`/user/withdrawalAddressAdd`, data);
    }
 
 
    // 查询币种余额
    static withdrawalBalance(data) {
        return Serve.post(`/user/withdrawalBalance`, data);
    }
 
    // 修改用户地址
    static withdrawalAddressModify(data) {
        return Serve.post(`/user/withdrawalAddressModify`, data);
    }
 
    // 删除币种地址
    static withdrawalAddressDeleted(data) {
        return Serve.post(`/user/withdrawalAddressDeleted`, data);
    }
    // 资金余额
    static appTokenAssets(data){
        return Serve.post(`/user/appTokenAssets`,data)
    }
    // 指定币种划转记录
    static appTransferRecord(data){
        return Serve.post(`/user/appTransferRecord`,data)
    }
    // 指定币种提币记录
    static appWithdrawalRecord(data){
        return Serve.post(`/user/appWithdrawalRecord`,data)
    }
    // 指定币种提币记录
    static appDepositHistory(data){
        return Serve.post(`/user/appDepositHistory`,data)
    }
    // 指定币种币币记录
    static getWalletLogs(data){
        return Serve.get(`/user/getWalletLogs`,data)
    }
     // 生成钱包地址
     static createWalletAddress() {
        return Serve.post(`/user/createWalletAddress`);
    }
     // 获取充币地址
    static collectionType(data) {
        return Serve.post(`/user/collectionType`, data)
    }
     // 获取转换列表
     static accounts(data){
        return Serve.get(`/wallet/accounts`, data)
    }
    // 获取子账户类别
    static accountPairList(data){
        return Serve.get('/wallet/accountPairList',data)
    }
    // 获取转换币种列表
    static coinList(data){
        return Serve.get('/wallet/coinList',data)
    }
    // 获取余额
    static getBalance(data){
        return Serve.get('/wallet/getBalance',data)
    }
    // 资金划转
    static transfer(data){
        return Serve.post('/wallet/transfer',data)
    }
    // 合约资金列表
    static accountList(data){
        return Serve.get('/contract/accountList',data)
    }
    // 合约资金流水
    static accountFlow(data){
        return Serve.get('/contract/accountFlow',data)
    }
    // 合约资金流水
    static cancelWithdraw(data){
        return Serve.post('/user/cancelWithdraw',data,{loading:true})
    }
}
 
export default Wallet;