代发管理 爆款数据更新曝光量 店铺统计优化 增加反向物流考核功能

This commit is contained in:
wule committed 2026-05-20 13:47:53 +08:00
1 parent ad325eaec5
commit ef35522b6a
42 files changed
+7102 -908

No files matched your search

+3 -1
View File
@@ -1,4 +1,5 @@
using System;
using AllBase.Model.Result.WXResult;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -75,6 +76,7 @@ namespace AllBase.Model.Config
public int? ProdCount { get; set; }
public decimal? curScoreValue {get;set;}
public DSRShopScoreRetInfo scoreRetInfo { get; set; } = new DSRShopScoreRetInfo();
public DateTime lastRefreshDate { get; set; } = DateTime.MinValue;
/// <summary>
@@ -38,6 +38,7 @@ namespace AllBase.Model.Result.PDDResult
if (expressCompanyName.Contains("京东快递")) return "JD";
if (expressCompanyName.Contains("京东快运")) return "JDKY";
if (expressCompanyName.Contains("京东大件物流")) return "JD";
if (expressCompanyName.Contains("其他快递")) return "OTHER";
return "";
}
@@ -0,0 +1,40 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.WXResult
{
public class DSRShopScoreRetInfo
{
public int? code { get; set; } // 0
public DSRShopScoreInfo dsrScore { get; set; }
public extInfo ext { get; set; }
}
public class extInfo
{
public int? version { get; set; } // 1
}
public class DSRShopScoreInfo
{
public decimal? curValue { get; set; } // 4.87, // 综合得分
public decimal? rankRatio { get; set; } // 0.9107, //优于91.07%同行
public int? level { get; set; } // 3, // 3好 2中 1差
public List<ScoreValueInfo> valueList { get; set; }
public string curDate { get; set; } // "20260518"
}
public class ScoreValueInfo
{
public string date { get; set; } // "20260518",
public decimal? value { get; set; } // 4.87,
public decimal? grossAvgValue { get; set; } // 4.633553482240027,
public decimal? scoreMedian { get; set; } // 0.0472,
public int? level { get; set; } // 3
}
}
@@ -0,0 +1,61 @@
using AllBase.Model.Param.WXParam;
using NaiBa.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.WXResult
{
public class WxActivityData
{
public requestProductInfoList requestProductInfoList { get; set; } = new requestProductInfoList();
public ConcurrentList<WXProductParam> productList { get; set; } = new ConcurrentList<WXProductParam>();
//public int? totalNum { get; set; } // "1648"
//public int? totalPage { get; set; } // "165"
}
public class requestProductInfoList
{
public int? code { get; set; } // 0
public ConcurrentList<requestProductInfoResult> resultList { get; set; } = new ConcurrentList<requestProductInfoResult>();
}
public class requestProductInfoResult
{
public string shopId { get; set; }
public requestProductInfo product { get; set; }
/// <summary>
/// 是否已报名活动
/// </summary>
public bool? isAdded { get; set; } // true
public int? activityStockNum { get; set; } // 0
public int? activityPrice { get; set; } // 557
public int? dailyStock { get; set; } // 0,
public int? stockMode { get; set; } // 1,
public string invalidString { get; set; } // "",
public string invalidStringPrecheck { get; set; } // "",
public int? canSetLowestPrice { get; set; } // 0,
public int? minActivityPrice { get; set; } // 567,
public int? minStockNum { get; set; } // 0,
public int? defaultStockMode { get; set; } // 1,
public string maxPlatform_618Discount { get; set; } // "28",
public string maxPlatform_618DiscountMerchant { get; set; } // "42",
public string maxPlatformSubsidy { get; set; } // "28",
public string maxMerchantSubsidy { get; set; } // "42",
public string validPrice { get; set; } // "567",
public string salePrice { get; set; } // "567"
}
public class requestProductInfo
{
public string productId { get; set; } // "10000848702293",
public string skuId { get; set; } // "14973867421"
}
}
@@ -0,0 +1,109 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.WXResult
{
public class WxConsignmentOrderInfo
{
public WxConsignmentOrderCommonInfo commonInfo { get; set; }
public List<WxConsignmentOrderProductInfo> productsList { get; set; }
public WxConsignmentOrderEditAddrInfo editAddrInfo { get; set; }
public WxConsignmentOrderBuyerInfo buyerInfo { get; set; }
public WxConsignmentOrderNotesInfo notesInfo { get; set; }
public WxConsignmentOrderPresentInfo presentInfo { get; set; }
public object expressData { get; set; }
public WxConsignmentOrderInspectInfo inspectInfo { get; set; }
public WxConsignmentOrderCustomInfo customInfo { get; set; }
public WxConsignmentOrderBackUpInfo backUpInfo { get; set; }
}
public class WxConsignmentOrderBackUpInfo
{
public int? type { get; set; } // 0,
public string title { get; set; } // "",
public string taskId { get; set; } // "",
public object delayDeliveryInfo { get; set; } // { }
}
public class WxConsignmentOrderCustomInfo
{
public string content { get; set; } // "",
public int? type { get; set; } // 0,
public string previewImgUrl { get; set; } // ""
}
public class WxConsignmentOrderInspectInfo
{
public string inspectOrgName { get; set; } // "",
public string warehouseName { get; set; } // ""
}
public class WxConsignmentOrderPresentInfo
{
public string presentOrderId { get; set; } // "",
public string greetingMessage { get; set; } // ""
}
public class WxConsignmentOrderNotesInfo
{
public bool? hasNotes { get; set; } // true,
public string customerNotes { get; set; } // "",
public string merchantNotes { get; set; } // "260517-004110435981905",
public string presentNotes { get; set; } // ""
}
public class WxConsignmentOrderBuyerInfo
{
public string nickName { get; set; } // ""
}
public class WxConsignmentOrderEditAddrInfo
{
public int? applyEditAddrStatus { get; set; } // 0,
public string applyEditAddrAuditStaff { get; set; } // "",
public string applyEditAddrAuditTimeText { get; set; } // ""
}
public class WxConsignmentOrderProductInfo
{
public string productId { get; set; } // "10000845960754",
public string thumbImg { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69de113c00028665206560e2d33f0315000000a100004f50",
public string title { get; set; } // "应急灯家用超长续航充电停电太阳能户外备用照明手提马灯露营挂灯",
public string skuId { get; set; } // "14913157803",
public List<string> saleParam { get; set; } // [ "一拉既亮【金黄色】充手机+一灯四用", "尊享版-太阳能O电费【900N】超长续航36" ],
public int? productCnt { get; set; } // 1,
public string deliveryTimeStr { get; set; } // "",
public List<object> icons { get; set; } // [ ],
public string perExchangeScore { get; set; } // "",
public List<object> warning { get; set; } // [ ],
public string salePrice { get; set; } // "4590",
public string spuCode { get; set; } // "EC110000617310104A",
public string skuCode { get; set; } // "BSHY-923-SKYH-YS",
public bool? isPreSale { get; set; } // false,
public bool? isFreeGift { get; set; } // false,
public string afterSaleStatusStr { get; set; } // "",
public int? realPrice { get; set; } // 4590,
public int? perRealPrice { get; set; } // 4590
}
public class WxConsignmentOrderCommonInfo
{
public string cosignmentOrderId { get; set; } // "4436453689109278464",
public string orderId { get; set; } // "3736453673788794624",
public int? status { get; set; } // 100,
public string statusStr { get; set; } // "待发货",
public string createTimeStr { get; set; } // "5/18 04:31",
public string createTimeStrForB { get; set; } // "2026/05/18 04:31",
public string orderCreateTimeStrForB { get; set; } // "2026/05/18 04:30",
public string supplierName { get; set; } // "一组专用",
public bool? isGiftOrder { get; set; } // false
}
}
@@ -0,0 +1,59 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result.WXResult
{
public class WxOptimizeFeedbackOrderInfo
{
public string shopId { get; set; }
public string shopName { get; set; }
public string remark { get; set; }
public string optimizeWaybillId { get; set; }
public string optimizeTime { get; set; }
public int? orderTime { get; set; }
/// <summary>
/// 收货 省
/// </summary>
public string province { get; set; }
/// <summary>
/// 收货 市
/// </summary>
public string city { get; set; }
/// <summary>
/// 收货 区
/// </summary>
public string district‌ { get; set; }
public FeedbackOrderInfo orderInfo { get; set; }
public string negativeReviewReason { get; set; } // "",
public string complainReason { get; set; } // "投诉-物流停滞问题-长时间未更新物流信息",
public string payTime { get; set; } // "1776581954",
public FeedbackDeliveryInfo delivery { get; set; }
public string waybillId { get; set; } // "777402213446534"
}
public class FeedbackDeliveryInfo
{
public string deliveryId { get; set; } // "STO",
public string deliveryName { get; set; } // "申通快递",
public string imgUrl { get; set; } // "https://res.wx.qq.com/shop/public/2023-07-11/691c3b97-4120-48aa-9d9e-8349ec367cd6.png"
}
public class FeedbackOrderInfo
{
public string name { get; set; } // "【带透气网】中年妈妈装春夏短款马甲女休闲洋气坎肩外穿背心马夹",
public string skuName { get; set; } // "白色-2XL推荐120-135斤",
public string spuId { get; set; } // "10000714592956",
public string orderId { get; set; } // "3735806733643560704",
public string price { get; set; } // "5388",
public int? productCnt { get; set; } // 1,
public string imgUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69ddbc1e0009f7e724a46d3bc461b01e000000a100004f50",
public string skuCode { get; set; } // "",
public string skuThumbUrl { get; set; } // "https://wst.wxapp.tc.qq.com/161/20304/snscosdownload/SH/reserved/69ddbc1e0009f7e724a46d3bc461b01e000000a100004f50"
}
}