其他平台买手拍单发送功能 店铺筛选功能逻辑优化
This commit is contained in:
1 parent
2dece676c1
commit
aa45b35145
46 files changed
+4038
-2223
No files matched your search
@@ -27,7 +27,7 @@ namespace AllBase
|
||||
/// <summary>
|
||||
/// 版本ID
|
||||
/// </summary>
|
||||
public static int VersionCount = 1067;
|
||||
public static int VersionCount = 1071;
|
||||
//public static int VersionCount = 613;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using AllBase.Model.Param.CollectManage;
|
||||
using AllBase.Model.Config;
|
||||
using AllBase.Model.Param.CollectManage;
|
||||
using AllBase.Model.Param.ProductManage;
|
||||
using AllBase.Model.Param.ShopManage;
|
||||
using AllBase.Model.Param.TemuProductManage;
|
||||
@@ -32,11 +33,21 @@ namespace AllBase.Helper
|
||||
/// 拼多多买手列表
|
||||
/// </summary>
|
||||
public static ConcurrentList<BuyerLoginInfo> BuyerLoginList { get; set; } = new ConcurrentList<BuyerLoginInfo>();
|
||||
/// <summary>
|
||||
/// 微信店铺授权信息
|
||||
/// </summary>
|
||||
public static ConcurrentList<AuthInfo> lstWxShopAuthInfo { get; set; } = new ConcurrentList<AuthInfo>();
|
||||
/// <summary>
|
||||
/// 微信全局token(上传图片用)
|
||||
/// </summary>
|
||||
public static ConcurrentList<WXShopTokenInfo> WxGlobalTokenList { get; set; } = new ConcurrentList<WXShopTokenInfo>();
|
||||
|
||||
public static Dictionary<string, WxShopUploadInfo> dicWxShopUploadInfo { get; set; } = new Dictionary<string, WxShopUploadInfo>();
|
||||
|
||||
public static ConcurrentList<WXShopTokenInfo> WxTokenList { get; set; } = new ConcurrentList<WXShopTokenInfo>();
|
||||
public static ConcurrentList<PddCatInfo> PddCatList { get; set; } = new ConcurrentList<PddCatInfo>();
|
||||
public static ConcurrentList<WxCatInfo> WxCatList { get; set; } = new ConcurrentList<WxCatInfo>();
|
||||
public static ConcurrentList<WxCatBoundInfo> WxCatBoundList { get; set; } = new ConcurrentList<WxCatBoundInfo>();
|
||||
|
||||
/// <summary>
|
||||
/// 店铺设置参数
|
||||
/// </summary>
|
||||
@@ -48,11 +59,9 @@ namespace AllBase.Helper
|
||||
|
||||
public static List<SameProductCheckParam> SameProductCheckParamList { get; set; }
|
||||
|
||||
|
||||
//public static string UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36";
|
||||
public static string UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36";
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 微店店铺列表
|
||||
/// </summary>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using NaiBa.Util.Extension;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -15,12 +16,23 @@ namespace AllBase.Model.Config
|
||||
/// <summary>
|
||||
/// 日上货数量
|
||||
/// </summary>
|
||||
public Dictionary<int, int> DicDayUploadCount { get; set; } = new Dictionary<int, int>();
|
||||
public Dictionary<int, int> DicDayUploadCount
|
||||
{
|
||||
get
|
||||
{
|
||||
if (!dicDayUploadCount.ContainsKey(DateTime.Now.ToString("yyyyMMdd").ParseToInt()))
|
||||
dicDayUploadCount[DateTime.Now.ToString("yyyyMMdd").ParseToInt()] = 0;
|
||||
return dicDayUploadCount;
|
||||
}
|
||||
set { dicDayUploadCount = value; }
|
||||
}
|
||||
Dictionary<int, int> dicDayUploadCount = new Dictionary<int, int>();
|
||||
|
||||
/// <summary>
|
||||
/// 在售商品数
|
||||
/// </summary>
|
||||
public int OnSaleCount { get; set; }
|
||||
public int OnSaleCount { get { return OnSaleRefreshDay == DateTime.Now.ToString("yyyyMMdd").ParseToInt() ? onSaleCount : 0; } set { onSaleCount = value; } }
|
||||
int onSaleCount = 0;
|
||||
/// <summary>
|
||||
/// 刷新在售商品时间
|
||||
/// </summary>
|
||||
|
||||
@@ -57,6 +57,7 @@ namespace AllBase.Model.Result.PDDResult
|
||||
if (expressCompanyName.Contains("顺丰速运")) return "SF";
|
||||
if (expressCompanyName.Contains("京东快递")) return "JD";
|
||||
if (expressCompanyName.Contains("京东快运")) return "JDKY";
|
||||
if (expressCompanyName.Contains("其他快递")) return "OTHER";
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -89,6 +90,7 @@ namespace AllBase.Model.Result.PDDResult
|
||||
if (outExpressCompanyMsg.Contains("京东快递")) return "京东快递";
|
||||
if (outExpressCompanyMsg.Contains("京东快运")) return "京东快运";
|
||||
if (outExpressCompanyMsg.Contains("京东大件物流")) return "京东大件物流";
|
||||
if (outExpressCompanyMsg.Contains("其他快递")) return "其他快递";
|
||||
return "物流名称获取失败";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user