|
|
@@ -284,6 +284,7 @@ impl BybitSwapWs {
|
|
|
let mut res_data = ResponseData::new("".to_string(), "200".to_string(), "success".to_string(), Value::Null);
|
|
|
let json_value: Value = serde_json::from_str(&text).unwrap();
|
|
|
if json_value.get("success").is_some() {
|
|
|
+ info!("bybit_swap_ws订阅结果:{:?}", json_value);
|
|
|
//订阅内容
|
|
|
let success = json_value["success"].as_bool().unwrap();
|
|
|
// let ret_msg = json_value["ret_msg"].as_str().unwrap();
|