优化读拼多多买手单

This commit is contained in:
wule committed 2026-10-28 13:17:51 +08:00
1 parent f89670877d
commit a31b87b512
9 files changed
+451 -386

No files matched your search

+11 -2
View File
@@ -1599,6 +1599,15 @@ namespace TemuKJD.ToolForms
{
#region 直发拍单
if (orderItem.ItemOrder?.Shop == null)
{
if (!IsAutoBuy)
BaseMsgForm.ShowError("缺少店铺信息!");
else
Invoke(() => { lblErrMsg.Text = "缺少店铺信息!"; });
return;
}
var url = BaseClass.Build29WxObjString("order/wx_get_order_item_ext_info");
var data = UserLogin.GetSignaturex();
data += "&wx_order_id_in=" + orderItem.order_id;
@@ -1620,8 +1629,8 @@ namespace TemuKJD.ToolForms
order_id = orderItem.order_id,
sku_id = orderItem.sku_id,
out_order_id = txtBuyOrderId.Text.Trim(),
shop_app_id = orderItem.Shop.ShopId,
shop_name = orderItem.Shop.ShopAccount,
shop_app_id = orderItem.ItemOrder?.Shop?.ShopId,
shop_name = orderItem.ItemOrder?.Shop?.ShopAccount,
buy_type = "直发",
};
var url1 = BaseClass.Build29WxObjString("order/wx_add_order_item_ext_info");