From 419f041786248478faccb1d6e80468021b1db6be Mon Sep 17 00:00:00 2001 From: tanghc Date: Thu, 25 Feb 2021 15:08:08 +0800 Subject: [PATCH] 4.2.7 --- sop-sdk/sdk-rust/sdk/src/client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sop-sdk/sdk-rust/sdk/src/client.rs b/sop-sdk/sdk-rust/sdk/src/client.rs index 9b8eff19..a63078a7 100644 --- a/sop-sdk/sdk-rust/sdk/src/client.rs +++ b/sop-sdk/sdk-rust/sdk/src/client.rs @@ -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());