|
|
@ -31,7 +31,9 @@ const api = { |
|
|
|
marketDetail: (params) => Vue.prototype.$axios.post('/market/detail',params),//获取24显示行情(HTTP)
|
|
|
|
bboList: (params) => Vue.prototype.$axios.post('/market/bboList',params),//获取买卖单(HTTP)
|
|
|
|
tradeList: (params) => Vue.prototype.$axios.post('/market/tradeList',params),//获取成交记录(HTTP)
|
|
|
|
getmarketLatest: () => Vue.prototype.$axios.post('/market/latest'), |
|
|
|
|
|
|
|
|
|
|
|
//--------------------------------- contract ---------------------------------
|
|
|
|
contractOrder: (params) => Vue.prototype.$axios.post('/api/contract/order',params),//合约下单接口
|
|
|
|
setWinOrLossStopPrice: (params) => Vue.prototype.$axios.post('/api/contract/setWinOrLossStopPrice',params),//设置止盈止损
|
|
|
|