pub const API_ADDRESS: &str = "https://api.xmpush.xiaomi.com"; pub const API_ADDRESS_GLOBAL: &str = "https://api.xmpush.global.xiaomi.com"; #[allow(dead_code)] pub const V2_MESSAGE_REGID: &str = "/v2/message/regid"; #[allow(dead_code)] pub const V2_MESSAGE_ALIAS: &str = "/v2/message/alias"; pub const V2_MESSAGE_USER_ACCOUNT: &str = "/v2/message/user_account"; #[allow(dead_code)] pub const V2_MESSAGE_TOPIC: &str = "/v2/message/topic"; #[allow(dead_code)] pub const V2_MESSAGE_MULTI_TOPIC: &str = "/v2/message/multi_topic"; #[allow(dead_code)] pub const V2_MESSAGE_ALL: &str = "/v2/message/all"; ///support multi package name pub const V3_MESSAGE_REGID: &str = "/v3/message/regid"; pub const V3_MESSAGE_ALIAS: &str = "/v3/message/alias"; pub const V3_MESSAGE_TOPIC: &str = "/v3/message/topic"; pub const V3_MESSAGE_MULTI_TOPIC: &str = "/v3/message/multi_topic"; pub const V3_MESSAGE_ALL: &str = "/v3/message/all";