Commit 30a6618b authored by wxk's avatar wxk

接口基本连接完喽

parent ca4221cf
......@@ -11,7 +11,7 @@ const Api = {
GetWalletInfo: "/walletInfo ", //查询某个账号的当前资产信息
Transfer: "/transfer", //充币提币
Transaction: "/transaction", //交易记录
Records: "/records", //历史记录
Records: "/records", //充提记录
}
export default Api;
This diff is collapsed.
......@@ -59,8 +59,10 @@
methods: {
getPlatInfo() {
axios.post(ApiConfig.GetPlatformInfo).then( res =>{
if (res.data.code === 200) {
this.platInfo = res.data.data;
// console.log(this.platInfo)
}
})
},
getRobotBank() {
......@@ -73,8 +75,10 @@
"platform":[] //交易所种类 可选参数
}
axios.post(ApiConfig.GetRobotBank,params).then( res => {
if (res.data.code === 200) {
// console.log(res.data.data);
this.robotBankList = res.data.data
}
})
},
}
......
......@@ -242,15 +242,19 @@
//机器人预警状态查询
getRobotStatus(params) {
axios.post(ApiConfig.GetRobotStatus,params).then( res => {
if (res.data.code === 200) {
// console.log(res.data)
this.robotStatusList = res.data;
this.robotStatusList = res.data.data;
}
})
},
//获取符合筛选条件的机器人列表
getRobotList(params) {
axios.post(ApiConfig.GetMatchRobots,params).then( res => {
if (res.data.code === 200) {
// console.log(res.data.data);
this.robotList = res.data.data;
}
})
},
//交易所过滤
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment