|
|
@@ -377,7 +377,7 @@ impl Platform for PhemexSwap {
|
|
|
if response_long.code != 200 && response_short.code != 200 {
|
|
|
return Err(Error::new(ErrorKind::NotFound, format!("phemex_swap 撤销订单失败 order_id: {}, custom_id: {}, response_long: {:?}, response_short: {:?}", order_id, custom_id, response_long, response_short)));
|
|
|
};
|
|
|
- info!("long cancel: {:?}, short cancel: {:?}", response_long, response_short);
|
|
|
+ // info!("long cancel: {:?}, short cancel: {:?}", response_long, response_short);
|
|
|
let res_data_json: Value = if response_long.code == 200 { response_long.data } else { response_short.data };
|
|
|
let mut result = format_order_item(res_data_json, ct_val);
|
|
|
result.status = "REMOVE".to_string();
|