|
|
@ -162,7 +162,11 @@ namespace EasyBL.WebApi.Filters |
|
|
|
for (int f = 0; f < form.Count; f++) |
|
|
|
{ |
|
|
|
var key = form.Keys[f]; |
|
|
|
parameters.Add(key, form[key]); |
|
|
|
|
|
|
|
if (!string.IsNullOrEmpty(key)) { |
|
|
|
parameters.Add(key, form[key]); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
// 第二步:把字典按Key的字母顺序排序
|
|
|
|
IDictionary<string, string> sortedParams = new SortedDictionary<string, string>(parameters); |
|
|
|