Skip to content

Commit

Permalink
处理PassThroughInfo被传递空字符串的情况
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhangYiQiu committed Nov 6, 2024
1 parent f6ca231 commit bb86523
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TokenPay/Extensions/ObjectExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static class ObjectExtension
var nullKey = new List<string>();
foreach (var item in dic)
{
if (item.Value == null)
if (item.Value == null || item.Value is string s && string.IsNullOrEmpty(s))
nullKey.Add(item.Key);
}
foreach (var item in nullKey)
Expand Down

0 comments on commit bb86523

Please sign in to comment.