Commit f6263b68 authored by 1486327116's avatar 1486327116

update

parent ad32dd5b
......@@ -162,18 +162,14 @@ export const addPairToCore = async (body) => {
}
// 设置手续费 至少指定user_id 和 symbol 二者其一
export const changeTradingFee = async (symbol,user_id,maker_fee,taker_fee) => {
export const changeTradingFee = async (symbol,user_id,maker_fee,taker_fee,market="spot") => {
let body = {
maker_fee,taker_fee,
}
if (symbol) {
let market = "spot"
if (symbol.endsWith("_SWAP")) {
market = "lpc"
}
body["market"] = market;
body["market"] = market;
if (symbol) {
body["symbol"] = symbol;
}
if (user_id>0) {
......
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