1 temu 商品主图顺序更改 2 pdd商品结构导出功能

This commit is contained in:
wule committed 2025-12-20 17:48:24 +08:00
1 parent 4fd2a4d579
commit 91b1ea7dbc
19 files changed
+823 -62

No files matched your search

+11
View File
@@ -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