diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs
index 6d43e70..1e323a7 100644
--- a/AllBase/BaseClass.cs
+++ b/AllBase/BaseClass.cs
@@ -27,7 +27,7 @@ namespace AllBase
///
/// 版本ID
///
- public static int VersionCount = 929;
+ public static int VersionCount = 932;
//public static int VersionCount = 613;
///
@@ -746,6 +746,10 @@ namespace AllBase
{
return LoginApiUrl + "/bxx_" + file + "?obj=" + BaseClass.MainPath + "/bxx_" + file;
}
+ public static string BuildWXObjString(string file, bool IsLoginDef = false)
+ {
+ return LoginApiUrl + "/wxxd_" + file + "?obj=" + BaseClass.MainPath + "/wxxd_" + file;
+ }
}
public class KeyValueBase
diff --git a/AllBase/BaseRegex.cs b/AllBase/BaseRegex.cs
index ae154d1..7c1ebfc 100644
--- a/AllBase/BaseRegex.cs
+++ b/AllBase/BaseRegex.cs
@@ -754,7 +754,7 @@ namespace AllBase
rst += htmlTmp.Substring(0, 1);
if (htmlTmp.StartsWith("["))
braceNum++;
- else if (htmlTmp.StartsWith("}"))
+ else if (htmlTmp.StartsWith("]"))
braceNum--;
htmlTmp = htmlTmp.Substring(1);
if (braceNum == 0)
diff --git a/AllBase/JsonHelper.cs b/AllBase/JsonHelper.cs
index c43e8b0..3f69868 100644
--- a/AllBase/JsonHelper.cs
+++ b/AllBase/JsonHelper.cs
@@ -46,13 +46,18 @@ namespace AllBase
public static T DeserializeJsonToObjectNullable(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;
+ try
+ {
+ 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;
+ }
+ catch
+ {
+ return null;
+ }
}
public static JObject JObjectParse(string json)
diff --git a/AllBase/Model/Result/TemuDBProductSelect.cs b/AllBase/Model/Result/TemuDBProductSelect.cs
index 6fa752e..b131a53 100644
--- a/AllBase/Model/Result/TemuDBProductSelect.cs
+++ b/AllBase/Model/Result/TemuDBProductSelect.cs
@@ -43,6 +43,7 @@ namespace AllBase.Model.Result
public string change_cat_name { get; set; }
public string wx_cat_leaf { get; set; }
public string ext_code { get; set; }
+ public string secret_spu_id { get; set; }
public string product_name { get; set; }
public string main_img { get; set; }
public string spu_id { get; set; }
diff --git a/AllBase/Model/Result/WXResult/WXClientProductInfoLite.cs b/AllBase/Model/Result/WXResult/WXClientProductInfoLite.cs
index f86e9e2..c8533af 100644
--- a/AllBase/Model/Result/WXResult/WXClientProductInfoLite.cs
+++ b/AllBase/Model/Result/WXResult/WXClientProductInfoLite.cs
@@ -8,22 +8,26 @@ namespace AllBase.Model.Result.WXResult
{
public class WXClientProductInfoLite
{
- public string product_id { get; set; } // "10000066623849",
- public string appid { get; set; } // "wx62cca7dc2354b687"
+ public wx_client_prod_key product_key { get; set; }
+
+ public wx_client_prod_info info { get; set; }
+
+ public List productSkus { get; set; }
+ }
+
+ public class wx_client_prod_info
+ {
public string title { get; set; } // "2026新款情侣棒球帽立体C字母刺绣显脸小时尚百搭休闲韩版大头围鸭舌帽",
public string sub_title { get; set; } // "2025新款C字母立体刺绣棒球帽",
- public List category { get; set; } // { "cat_id": "6093" }
-
///
/// 主图列表
///
public List head_img { get; set; } // ["https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/64f0a5760000484b151963b6bb81bc1e000000a000004f50", ...]
-
+ public List category { get; set; } // { "cat_id": "6093" }
///
/// 商品详情(图)
///
- public wx_client_detail detail { get; set; }
-
+ public wx_client_prod_detail detail { get; set; }
///
/// 商品属性
///
@@ -32,16 +36,47 @@ namespace AllBase.Model.Result.WXResult
/// 品牌id
///
public string brand_id { get; set; } // "10250056"
-
+ public wx_client_sku_id_list sku_id_list { get; set; }
public wx_sku sku_list { get; set; }
-
public List product_sale_attrs { get; set; }
-
- public List productSkus { get; set; }
-
- public string total_sold_num { get; set; }
-
+ ///
+ /// 总销量
+ ///
+ public string total_sold_num { get; set; } // "46631"
+ public wx_client_service_desc service_desc { get; set; }
+ public wx_client_express_info express_info { get; set; }
public List headVideoInfo { get; set; }
+
+ public object afterSaleInfo { get; set; }
+ public List