淘宝买手拍单 订单补发包裹。
This commit is contained in:
1 parent
d18460c83f
commit
c11dda0341
13 files changed
+753
-188
No files matched your search
@@ -40,5 +40,23 @@ namespace Work._29Tools.BLL
|
||||
var result = HttpResponseWXBLL.WeiXinPostResponse(shop, url, body, refere);
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 补发货接口
|
||||
/// </summary>
|
||||
/// <param name="shop"></param>
|
||||
/// <param name="orderIds"></param>
|
||||
/// <returns></returns>
|
||||
public static string orderCompensationDelivery(ShopLoginInfo shop, string orderId, string deliveryId, string waybillId, string productId, string skuId, int productCnt)
|
||||
{
|
||||
string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeorder/ship/cgi/compensationDelivery?token=&lang=zh_CN";
|
||||
string referer = "https://store.weixin.qq.com/shop/order/list";
|
||||
//string body = @"{""orderId"":""3736582240830642176"",""reason"":1,""deliveryProductInfo"":[{""deliveryId"":""EMS"",""waybillId"":""9822445565261"",""productInfos"":[{""productId"":""10000697373414"",""skuId"":""11709320615"",""productCnt"":1}]}]}";
|
||||
string body = @"{""orderId"":""" + orderId + @""",""reason"":1,""deliveryProductInfo"":[{""deliveryId"":""" + deliveryId +
|
||||
@""",""waybillId"":""" + waybillId + @""",""productInfos"":[{""productId"":""" + productId + @""",""skuId"":""" + skuId +
|
||||
@""",""productCnt"":" + productCnt + @"}]}]}";
|
||||
var result = HttpResponseWXBLL.WeiXinPostResponse(shop, url, body, referer);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1118,8 +1118,8 @@ namespace TemuKJD.ToolForms
|
||||
{
|
||||
if (item.out_product_id == upSpuCode || item.product_id == upSpuCode)
|
||||
{
|
||||
item.PddBuyMapSkus = buyMapSkuList.Where(s => s.source_platform == "pdd").ToList();
|
||||
item.PddBuyMapSkus = buyMapSkuList.Where(s => s.source_platform == "pdd").ToList();
|
||||
item.PddBuyMapSkus = buyMapSkuList.Where(s => s.platform == "pdd").ToList();
|
||||
item.TbBuyMapSkus = buyMapSkuList.Where(s => s.platform == "tb").ToList();
|
||||
|
||||
//if (filterOrderAction != null)
|
||||
//{
|
||||
@@ -1171,7 +1171,7 @@ namespace TemuKJD.ToolForms
|
||||
catch
|
||||
{
|
||||
}
|
||||
var pddBuyMap = buyMapList.FirstOrDefault(b => b.spu_code == upSpuCode && b.sku_code == upSkuCode && b.source_platform == "pdd");
|
||||
var pddBuyMap = buyMapList.FirstOrDefault(b => b.spu_code == upSpuCode && b.sku_code == upSkuCode && b.platform == "pdd");
|
||||
if (pddBuyMap != null)
|
||||
{
|
||||
foreach (var order in GlobalConfig.lstOrder)
|
||||
|
||||
Reference in new issue
Block a user