mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-30 02:14:44 +08:00
fix(work): 修复某些场景下生成签名错误
This commit is contained in:
@@ -231,7 +231,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.Utilities
|
||||
if (sNonce == null) throw new ArgumentNullException(nameof(sNonce));
|
||||
if (sMsgEncrypt == null) throw new ArgumentNullException(nameof(sMsgEncrypt));
|
||||
|
||||
ISet<string> set = new SortedSet<string>();
|
||||
ISet<string> set = new SortedSet<string>(StringComparer.Ordinal);
|
||||
set.Add(sToken);
|
||||
set.Add(sTimestamp);
|
||||
set.Add(sNonce);
|
||||
|
||||
Reference in New Issue
Block a user