Ver código fonte

bitmart bug ,rest 部分接口没有 data ,新增默认返回空对象

hl 1 ano atrás
pai
commit
379270245b
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      exchanges/src/bitmart_swap_rest.rs

+ 1 - 0
exchanges/src/bitmart_swap_rest.rs

@@ -9,6 +9,7 @@ use rust_decimal::prelude::FromPrimitive;
 use rust_decimal_macros::dec;
 use serde_json::{json, Value};
 use tracing::{info, trace};
+use std::borrow::Borrow;
 
 
 use crate::http_tool::RestTool;