微信商品回采功能
This commit is contained in:
1 parent
3db584fe1e
commit
d9900452f2
35 files changed
+4850
-696
No files matched your search
@@ -494,6 +494,25 @@ namespace NaiBa.Util.Extension
|
||||
}
|
||||
}
|
||||
|
||||
public static string ParseToNullableString(this object obj)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (obj == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
else
|
||||
{
|
||||
return obj.ToString();
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
public static string ParseToStrings<T>(this object obj, string split = ",")
|
||||
{
|
||||
try
|
||||
|
||||
Reference in new issue
Block a user