Commit 76b495db authored by 1486327116's avatar 1486327116

update

parent 6f4a27a5
...@@ -147,13 +147,13 @@ export const addPairToCore = async (body) => { ...@@ -147,13 +147,13 @@ export const addPairToCore = async (body) => {
return res; return res;
} }
// 设置手续费 至少指定user_id 和 product_id 二者其一 // 设置手续费 至少指定user_id 和 symbol 二者其一
export const changeTradingFee = async (product_id,user_id,maker_fee,taker_fee) => { export const changeTradingFee = async (symbol,user_id,maker_fee,taker_fee) => {
let body = { let body = {
maker_fee,taker_fee, maker_fee,taker_fee,
} }
if (product_id>0) { if (symbol) {
body["product_id"] = product_id; body["symbol"] = symbol;
} }
if (user_id>0) { if (user_id>0) {
body["user_id"] = user_id; body["user_id"] = user_id;
......
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