1 temu 商品主图顺序更改 2 pdd商品结构导出功能
This commit is contained in:
1 parent
4fd2a4d579
commit
91b1ea7dbc
19 files changed
+823
-62
No files matched your search
@@ -27,7 +27,7 @@ namespace AllBase
|
||||
/// <summary>
|
||||
/// 版本ID
|
||||
/// </summary>
|
||||
public static int VersionCount = 750;
|
||||
public static int VersionCount = 752;
|
||||
//public static int VersionCount = 613;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -44,6 +44,17 @@ namespace AllBase
|
||||
return t;
|
||||
}
|
||||
|
||||
public static T DeserializeJsonToObjectNullable<T>(string json) where T : class
|
||||
{
|
||||
if (string.IsNullOrEmpty(json))
|
||||
return json as T;
|
||||
JsonSerializer serializer = new JsonSerializer();
|
||||
StringReader sr = new StringReader(json);
|
||||
object o = serializer.Deserialize(new JsonTextReader(sr), typeof(T));
|
||||
T t = o as T;
|
||||
return t;
|
||||
}
|
||||
|
||||
public static JObject JObjectParse(string json)
|
||||
{
|
||||
try
|
||||
|
||||
Reference in new issue
Block a user