中转仓补发包裹

This commit is contained in:
wule committed 2026-09-24 22:03:52 +08:00
1 parent 02294e0ef6
commit 661f8c052e
10 files changed
+595 -9

No files matched your search

@@ -931,6 +931,10 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
if (order.order_sn == "260923-399088033421688")
{
}
if (order.ShopOrderIdStr == "3739357317247975936")
{
}
if (isUpdate && !string.IsNullOrEmpty(order.ShopOrderIdStr)/* && order.WxSendTypeStr != "直发"*/)
{
@@ -2136,6 +2140,12 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
if (shop == null)
throw new Exception("买手单对应店铺不存在!");
if (order.ShopOrderIdStr == "3739357317247975936")
{
}
var apiSearchDropship = new WxApiBLL().WxApiDropshipSearch(shop, order.ShopOrderIdStr, 100);
if (!apiSearchDropship.Contains("\"errcode\":0"))
throw new Exception("同步单代发查询失败!" + BaseRegex.GetStringJson(ref apiSearchDropship, "msg"));
@@ -2167,6 +2177,9 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
var html = GetHtml.PostUtf8(url, data);
if (!html.Contains("\"code\":200"))
html = GetHtml.PostUtf8(url, data);
// 更新拍单余额
StartUp.UpdateBalance();
}
else
{