Browse Source

关闭请求打印日志

875428575@qq.com 2 years ago
parent
commit
5d7f3855fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/exchange_libs.rs

+ 1 - 1
src/exchange_libs.rs

@@ -593,7 +593,7 @@ impl SocketTool {
                         }
                     }
                     Ok(Message::Pong(s)) => {
-                        writeln!(stdout, "Pong-响应--{:?}", String::from_utf8(s)).unwrap();
+                        writeln!(stdout, "Pong-响应--{:?}-{:?}", String::from_utf8(s),lable.to_string()).unwrap();
                         if lable.to_string() == "okx".to_string() {
                             okx_ping_off = false;
                             okx_ping_time = Utc::now().timestamp();