diff --git a/rust/crates/httpclient/src/request.rs b/rust/crates/httpclient/src/request.rs index 79395f7b1..82afcd896 100644 --- a/rust/crates/httpclient/src/request.rs +++ b/rust/crates/httpclient/src/request.rs @@ -19,7 +19,7 @@ use crate::{ }; const HTTP_URL: &str = "https://openapi.longbridge.com"; -const HTTP_URL_CN: &str = "https://openapi.longportapp.cn"; +const HTTP_URL_CN: &str = "https://openapi.longbridge.cn"; const USER_AGENT: &str = "openapi-sdk"; const REQUEST_TIMEOUT: Duration = Duration::from_secs(30); diff --git a/rust/src/config.rs b/rust/src/config.rs index 658230371..8737b9162 100644 --- a/rust/src/config.rs +++ b/rust/src/config.rs @@ -19,8 +19,8 @@ use crate::error::Result; const DEFAULT_QUOTE_WS_URL: &str = "wss://openapi-quote.longbridge.com/v2"; const DEFAULT_TRADE_WS_URL: &str = "wss://openapi-trade.longbridge.com/v2"; -const DEFAULT_QUOTE_WS_URL_CN: &str = "wss://openapi-quote.longportapp.cn/v2"; -const DEFAULT_TRADE_WS_URL_CN: &str = "wss://openapi-trade.longportapp.cn/v2"; +const DEFAULT_QUOTE_WS_URL_CN: &str = "wss://openapi-quote.longbridge.cn/v2"; +const DEFAULT_TRADE_WS_URL_CN: &str = "wss://openapi-trade.longbridge.cn/v2"; /// Language identifier #[derive(Debug, Default, Copy, Clone, PartialEq, Eq, IntoPrimitive)]