删除无用代码

This commit is contained in:
tanghc
2019-06-21 18:02:15 +08:00
parent e40ab63f1f
commit 49947e7f63
3 changed files with 6 additions and 36 deletions

View File

@@ -1,34 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace SDKCSharp.Common
{
public class SopSignature
{
public SopSignature()
{
}
public static String getSignContent(Dictionary<string, string> form)
{
StringBuilder content = new StringBuilder();
List<string> keys = new List<string>(form.Keys);
keys.Sort();
int index = 0;
for (int i = 0; i < keys.Count; i++)
{
string key = keys[i];
string value = form[key];
if (!string.IsNullOrEmpty(key) && !string.IsNullOrEmpty(value))
{
content.Append((index == 0 ? "" : "&") + key + "=" + value);
index++;
}
}
return content.ToString();
}
}
}