Browse Source

详细response

JiahengHe 1 year ago
parent
commit
c49d35e7e0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      exchanges/src/coinex_swap_rest.rs

+ 1 - 1
exchanges/src/coinex_swap_rest.rs

@@ -632,7 +632,7 @@ impl CoinexSwapRest {
 
         let is_success = response.status().is_success(); // 先检查状态码
         let text = response.text().await.unwrap();
-        info!("url: {}, 原始http响应字符串:res: {}", url, text);
+        info!("url: {}, 原始http响应:response: {:?}", url, response);
         let data_json: Value = serde_json::from_str(text.as_str()).unwrap();
         return if is_success && data_json["code"].to_string() == "0" {
             self.on_success_data(data_json["data"].clone())