|
|
@@ -11,7 +11,7 @@ use serde_json::{json, Value};
|
|
|
use tracing::{error, info, trace};
|
|
|
|
|
|
use crate::http_tool::RestTool;
|
|
|
-use crate::proxy;
|
|
|
+// use crate::proxy;
|
|
|
use crate::response_base::ResponseData;
|
|
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
@@ -351,10 +351,10 @@ impl PhemexSwapRest {
|
|
|
|
|
|
|
|
|
let client = if is_login {
|
|
|
- proxy::ParsingDetail::http_enable_proxy(Some("phemex"));
|
|
|
+ // proxy::ParsingDetail::http_enable_proxy(Some("phemex"));
|
|
|
Client::new()
|
|
|
} else {
|
|
|
- proxy::ParsingDetail::http_enable_proxy(None);
|
|
|
+ // proxy::ParsingDetail::http_enable_proxy(None);
|
|
|
Client::new()
|
|
|
};
|
|
|
let request_builder = match request_type.as_str() {
|