店铺优化数据抓取 拼多多买手刷新订单逻辑优化
This commit is contained in:
1 parent
0e6a927cf2
commit
b5d8818485
14 files changed
+2492
-615
No files matched your search
@@ -0,0 +1,78 @@
|
||||
using NaiBa.Util.Extension;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result.PDDResult
|
||||
{
|
||||
public class PddBuyerAfterSaleInfoLite
|
||||
{
|
||||
public string buyerId { get; set; } // 买手Id
|
||||
public string buyerName { get; set; } // 买手名称
|
||||
public string sendStatus { get; set; } = "";
|
||||
public string orderSn
|
||||
{
|
||||
get
|
||||
{
|
||||
var detailPage = listItemExtraVO.navToDetailPageUrl;
|
||||
return BaseRegex.GetStringQuery(ref detailPage, "order_sn");
|
||||
}
|
||||
}
|
||||
public int? orderDate { get { return orderSn.Split('-').FirstOrDefault().ParseToInt(); } }
|
||||
|
||||
|
||||
public long? afterSalesId { get; set; } // 20129688312436,
|
||||
public ListItemExtraVO listItemExtraVO { get; set; }
|
||||
public ListItemMallVO listItemMallVO { get; set; }
|
||||
public ListItemStatusVO listItemStatusVO { get; set; }
|
||||
public ListItemGoodsVO listItemGoodsVO { get; set; }
|
||||
public ListItemAmountVO listItemAmountVO { get; set; }
|
||||
}
|
||||
|
||||
public class ListItemAmountVO
|
||||
{
|
||||
public string orderAmountTitle { get; set; } // "实付:",
|
||||
public int? orderAmount { get; set; } // 1580,
|
||||
public object payLaterAmountTitle { get; set; } // null,
|
||||
public object payLaterAmount { get; set; } // null,
|
||||
public string refundAmountTitle { get; set; } // "退款金额:",
|
||||
public int? refundAmount { get; set; } // 1580,
|
||||
public object refundAmountText { get; set; } // null,
|
||||
public bool? useCoupon { get; set; } // false
|
||||
|
||||
}
|
||||
|
||||
public class ListItemGoodsVO
|
||||
{
|
||||
public string goodsImage { get; set; } // "https://img.pddpic.com/gaudit-image/2026-01-08/a3f431dd2be815640a2a41ed9a6cae5f.jpeg",
|
||||
public string goodsName { get; set; } // "假发男士爸爸中老年自然轻手织男士假发道具中年",
|
||||
public string spec { get; set; } // "",
|
||||
public int? goodsPrice { get; set; } // 1580,
|
||||
public int? goodsNumber { get; set; } // 1,
|
||||
public object richTextList { get; set; } // null
|
||||
|
||||
}
|
||||
|
||||
public class ListItemStatusVO
|
||||
{
|
||||
public string statusText { get; set; } // "退款成功"
|
||||
|
||||
}
|
||||
|
||||
public class ListItemMallVO
|
||||
{
|
||||
public string mallName { get; set; } // "江霞假发",
|
||||
public string mallLogo { get; set; } // "http://t16img.yangkeduo.com/pdd_ims/img_check/v2/E6EDFF2D6EE40120200112172428556/9824d59f68694de79252d95c62828c61.png",
|
||||
public string mallTagLink { get; set; } // null,
|
||||
public string pddRoute { get; set; } // "mall_page.html?mall_id=891600087&msn=tytnfyyplkflxcwnke2jkevprq_axbuy&_sop_rcto=YWKMWyWgOwRhdOxkIstGcbATTuXTx_3fIjo"
|
||||
|
||||
}
|
||||
|
||||
public class ListItemExtraVO
|
||||
{
|
||||
public string navToDetailPageUrl { get; set; } // "/complaints_new_detail.html?after_sales_id=20129688312436&order_sn=260409-566440793722665"
|
||||
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,9 @@ namespace AllBase.Model.Result.WXResult
|
||||
{
|
||||
public class WxOptimizeOrderWayBillInfo
|
||||
{
|
||||
public string shopId { get; set; }
|
||||
public string shopName { get; set; }
|
||||
|
||||
public WayBillOrderInfo orderInfo { get; set; }
|
||||
public string waybillId { get; set; } // "JT4157662637789",
|
||||
public string realPickupTime { get; set; } // "1776764623",
|
||||
|
||||
@@ -8,6 +8,9 @@ namespace AllBase.Model.Result.WXResult
|
||||
{
|
||||
public class WxOptimizeProductEvaluationInfo
|
||||
{
|
||||
public string shopId { get; set; }
|
||||
public string shopName { get; set; }
|
||||
|
||||
public string productEvaluationId { get; set; } // "53890834526",
|
||||
public OptimizeEvaluationInfo evaluationInfo { get; set; }
|
||||
public EvaluationProductInfo productInfo { get; set; }
|
||||
@@ -96,10 +99,19 @@ namespace AllBase.Model.Result.WXResult
|
||||
public List<string> imgUrl { get; set; } // [ "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SZ/reserved/69b236b3000a233f38faea9a156aeaa0000000a000004f50" ],
|
||||
public int? autoEvaluation { get; set; } // 0,
|
||||
public AuditInfo auditInfo { get; set; } // { "status": 1 },
|
||||
public List<BuyerEvaluationInfoLabel> labelList { get; set; }
|
||||
public int? contentType { get; set; } // 0,
|
||||
public string defaultContent { get; set; } // ""
|
||||
}
|
||||
|
||||
public class BuyerEvaluationInfoLabel
|
||||
{
|
||||
public string labelId { get; set; } // "3991",
|
||||
public string labelProperty { get; set; } // "2",
|
||||
public string labelName { get; set; } // "质量一般"
|
||||
|
||||
}
|
||||
|
||||
public class AuditInfo
|
||||
{
|
||||
public int? status { get; set; } // 1
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace AllBase.Model.Result.WXResult
|
||||
{
|
||||
public class WxOptrimizeLinerCgiInfo
|
||||
{
|
||||
public string shopId { get; set; }
|
||||
public string shopName { get; set; }
|
||||
|
||||
public string receipt_province { get; set; } // "福建省",
|
||||
public string ship_province { get; set; } // "广东省",
|
||||
public string receipt_time { get; set; } // "1775439386",
|
||||
public string transport_duration { get; set; } // "120986",
|
||||
public string delivery_id { get; set; } // "ZTO",
|
||||
public string is_reach_std { get; set; } // "0",
|
||||
public string ship_city { get; set; } // "揭阳市",
|
||||
public string receipt_city { get; set; } // "漳州市",
|
||||
public string collect_time { get; set; } // "1775305357",
|
||||
public string transport_std_duration { get; set; } // "86400",
|
||||
public string order_id { get; set; } // "3735440972198845440",
|
||||
public string waybill_id { get; set; } // "78592630685546",
|
||||
public string delivery_name { get; set; } // "中通快递",
|
||||
public string delivery_head_url { get; set; } // "https://res.wx.qq.com/shop/public/0c3d5722-bfb9-4798-a54c-56b2e10e32b3.png",
|
||||
public List<WxOptrimizeLinerCgiProductInfo> product_list { get; set; }
|
||||
public int? order_price { get; set; } // 840
|
||||
|
||||
}
|
||||
|
||||
public class WxOptrimizeLinerCgiProductInfo
|
||||
{
|
||||
public long? product_id { get; set; } // 10000633090440,
|
||||
public string head_img_url { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69c7811600048a7d0b8c53e63ee96615000000a100004f50",
|
||||
public string title { get; set; } // "【8.9到手2把装】不锈钢削皮刀双面家用土豆刮皮刀多功能水果蔬菜削皮刨丝加厚",
|
||||
public long? sku_id { get; set; } // 10537323034,
|
||||
public int? product_count { get; set; } // 1,
|
||||
public string spu_code { get; set; } // "EC110000365271004A",
|
||||
public string sku_code { get; set; } // ""
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user