微信订单管理功能

This commit is contained in:
wule committed 2026-05-23 18:42:47 +08:00
1 parent e5910fc100
commit 2afe960b6c
19 files changed
+2095 -318

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ namespace AllBase
/// <summary>
/// 版本ID
/// </summary>
public static int VersionCount = 1092;
public static int VersionCount = 1099;
//public static int VersionCount = 613;
/// <summary>
+26
View File
@@ -674,6 +674,32 @@ namespace AllBase
return temp;
}
/// <summary>
/// 获取字符串值,多个参数,返回第一个匹配的
/// </summary>
/// <param name="html"></param>
/// <param name="reg"></param>
/// <returns></returns>
public static string GetStringJsonByRegs(ref string html, string defaultValue, params string[] regs)
{
foreach (var reg in regs)
{
string temp = GetMatchRegexString(html, @"[""]" + reg + @"[""][\s]*:[\s]*[""]([^""]+?)[""]");
if (temp != null)
return temp;
temp = GetMatchRegexString(html, @"[""]" + reg + @"[""][\s]*:[\s]*[""]([^""]*?)[""]");
if (temp != null)
return temp;
temp = GetMatchRegexString(html, @"[']" + reg + @"['][\s]*:[\s]*[']([^']*?)[']");
if (temp != null)
return temp;
temp = GetMatchRegexString(html, @"['""]" + reg + @"['""][\s]*:[\s]*([\d]+)");
if (temp != null)
return temp;
}
return defaultValue;
}
public static string GetOneJsonObjStrJson(ref string html, string reg)
{
return GetJsonObjStrJson(ref html, reg).FirstOrDefault();
@@ -160,6 +160,7 @@ namespace AllBase.Model.Result._1688
public string specId { get; set; } // "9245e6730c7356a7eaaaeab64f57a6d7",
public string specAttrs { get; set; } // "浅灰+浅灰&gt;L(建议100-125斤)", //sku规格
public string price { get; set; } // "21.00", //价格不含邮费
public string multiPrice { get; set; } // "18.50", //价格不含邮费,如果此值不为空,则price包含邮费 26.5.23
public int? saleCount { get; set; } // 0,
public string discountPrice { get; set; } // "21.00", //折扣价格不含邮费
public int? canBookCount { get; set; } // 9999, //库存
@@ -13,11 +13,23 @@ namespace AllBase.Model.Result.WXResult
public flagInfoInfo flagInfo { get; set; }
public acceptInfoInfo acceptInfo { get; set; }
public expressDataInfo expressData { get; set; }
public notesInfoInfo notesInfo { get; set; }
public List<orderProductInfoInfo> orderProductInfo { get; set; }
public priceInfoInfo priceInfo { get; set; }
}
public class expressDataInfo
{
public int? type { get; set; } // 3, // 3在线寄件
public int? status { get; set; } // 0, // 待揽收
public string jumpPath { get; set; } // "/basicFunction/pages/address/allToAll/allToAllBillDetail/allToAllBillDetail?ewaybillOrderId=4527181286223364098",
public string jumpPage { get; set; } // "/shop/waybill/allToAllDetail?ewaybillOrderId=4527181286223364098",
public string title { get; set; } // "寄件码 8000",
public string content { get; set; } // "预计明天上门。"
}
public class priceInfoInfo
{
public string productPrice { get; set; } // "1314",