This commit is contained in:
tanghc
2021-02-25 15:08:08 +08:00
parent 7bae549b30
commit 419f041786

View File

@@ -90,6 +90,7 @@ impl OpenClient {
let mut all_params = HashMap::new();
all_params.insert("app_id", self.app_id.to_string());
all_params.insert("method", method.to_string());
all_params.insert("sign_type", "RSA2".to_string());
all_params.insert("charset", "UTF-8".to_string());
all_params.insert("timestamp", Local::now().format("%Y-%m-%d %H:%M:%S").to_string());
all_params.insert("version", version.to_string());