交易所前端蓝色ui 4.5 jiem
dcc
2024-06-07 4a31519bd6d5db765556664042fdc0a5dcc63cf0
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
import Axios from "@/utils/http";
 
function listPaymentmethod(data) {
  return Axios.fetch("wap/api/paymentmethod!list.action", data);
}
 
function deletePaymentmethod(data) {
  return Axios.fetch("wap/api/paymentmethod!delete.action", data);
}
 
function addPaymentmethod(data) {
  return Axios.fetch("wap/api/paymentmethod!add.action", data);
}
 
//获得所有资产
//"forex->外汇,commodities->大宗商品,指数/ETF->indices,  A-stocks->A股,  HK-stocks->港股.US-stocks->美股,cryptos->虚拟货币
 
function getAllAssets(data) {
  return Axios.fetch("wap/api/assets!getAll.action", data);
}
 
// 资产的聚合接口
function getAggregationAssets(data) {
  return Axios.fetch("wap/api/assets!getAllAggregation.action", data);
}
 
//钱包历史记录
function getWalletHistory(data) {
  return Axios.fetch("wap/api/wallet!records.action", data);
}
 
//获取永续合约持有仓位列表,没有分页,前端分页
function getOrderList(data) {
  return Axios.fetch("wap/api/contractOrder!list.action", data);
}
//获取永续合约委托持有仓位列表,没有分页,前端分页
function getOrderApplyList(data) {
  return Axios.fetch("wap/api/contractApplyOrder!list.action", data);
}
 
//交割合约持有仓位列表
function getFutureList(data) {
  return Axios.fetch("wap/api/futuresOrder!list.action", data);
}
 
// 现货
function getSpotList(data) {
  return Axios.fetch("wap/api/exchangeapplyorder!list.action", data);
}
 
//钱包列表
function getWalletList(data) {
  return Axios.fetch("wap/api/wallet!list.action", data);
}
// 获取兑换后币种的数量和手续费
function getFee(data) {
  return Axios.fetch("wap/api/exchangeapplyorder!buy_and_sell_fee.action", data);
}
 
// 获取兑换的sessiontoken??
function getExchangeapplyorderView(data) {
  return Axios.fetch("wap/api/exchangeapplyorder!view.action", data);
}
 
// 兑换接口
function getTrans(data) {
  return Axios.fetch("wap/api/exchangeapplyorder!buy_and_sell.action", data);
}
 
//矿池详情
function goMineDetail(data) {
  return Axios.fetch("wap/api/minerOrder!get.action", data);
}
 
//理财详情
 
function goDetail(data) {
  return Axios.fetch("wap/api/financeOrder!get.action", data);
}
 
//理财账户列表数据
function listFinanceOrder(data) {
  return Axios.fetch("wap/api/financeOrder!list.action", data);
}
 
//矿池锁仓列表
function listMinerOrder(data) {
  return Axios.fetch("wap/api/minerOrder!list.action", data);
}
 
function financeOrderOfClosOrder(data) {
  return Axios.fetch("wap/api/financeOrder!closOrder.action", data);
}
 
function minerOrderOfClosOrder(data) {
  return Axios.fetch("wap/api/minerOrder!closOrder.action", data);
}
 
function url(url, data) {
  return Axios.fetch(url, data);
}
 
export default {
  listPaymentmethod,
  deletePaymentmethod,
  addPaymentmethod,
  getAllAssets,
  getWalletHistory,
  getOrderList,
  getOrderApplyList,
  getFutureList,
  getWalletList,
  getFee,
  getExchangeapplyorderView,
  getTrans,
  goMineDetail,
  goDetail,
  listFinanceOrder,
  listMinerOrder,
  financeOrderOfClosOrder,
  minerOrderOfClosOrder,
  url,
  getSpotList,
  getAggregationAssets,
};