fix(work): 修复某些场景下生成签名错误

This commit is contained in:
Fu Diwei
2021-08-12 20:24:03 +08:00
parent 733a3878ce
commit 4b1aef4b1c

View File

@@ -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);