店铺退货包裹读取放到后台
This commit is contained in:
1 parent
4693c42024
commit
2a4a3ef744
13 files changed
+1021
-377
No files matched your search
@@ -27,8 +27,8 @@ namespace AllBase
|
||||
/// <summary>
|
||||
/// 版本ID
|
||||
/// </summary>
|
||||
public static int VersionCount = 535;
|
||||
//public static int VersionCount = 535;
|
||||
public static int VersionCount = 538;
|
||||
//public static int VersionCount = 538;
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
|
||||
@@ -549,6 +549,23 @@ namespace AllBase
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取值
|
||||
/// </summary>
|
||||
/// <param name="html"></param>
|
||||
/// <param name="reg"></param>
|
||||
/// <returns></returns>
|
||||
public static int? GetNullableIntJson(ref string html, string reg)
|
||||
{
|
||||
string temp = GetMatchRegexString(html, @"['""]" + reg + @"['""][\s]*:[\s]*['""]([^']+?)['""]");
|
||||
if (string.IsNullOrEmpty(temp))
|
||||
temp = GetMatchRegexString(html, @"['""]" + reg + @"['""][\s]*:[\s]*([\d-]+)");
|
||||
int i;
|
||||
if (int.TryParse(temp, out i))
|
||||
return i;
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取值
|
||||
/// </summary>
|
||||
@@ -564,6 +581,21 @@ namespace AllBase
|
||||
return false;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取值
|
||||
/// </summary>
|
||||
/// <param name="html"></param>
|
||||
/// <param name="reg"></param>
|
||||
/// <returns></returns>
|
||||
public static bool? GetNullableBoolJson(ref string html, string reg)
|
||||
{
|
||||
var temp = GetMatchRegexString(html, @"['""]" + reg + @"['""][\s]*:[\s]*(true|false)");
|
||||
bool res;
|
||||
if (bool.TryParse(temp, out res))
|
||||
return res;
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 时间戳转字符串时间
|
||||
/// </summary>
|
||||
|
||||
@@ -261,76 +261,122 @@ namespace AllBase.Model.Result
|
||||
public string notes { get; set; }
|
||||
#endregion
|
||||
|
||||
#region 四个模块是否读取成功
|
||||
/// <summary>
|
||||
/// 有已发布商品
|
||||
/// 首页订单信息
|
||||
/// </summary>
|
||||
public bool? havePublishProduct { get; set; } = false;
|
||||
public int? lackSkcNumber { get; set; } = 0;
|
||||
public bool is_search_1 { get; set; } = false;
|
||||
/// <summary>
|
||||
/// 建议备货
|
||||
/// 日到账金额信息
|
||||
/// </summary>
|
||||
public int? advicePrepareSkcNumber { get; set; } = 0;
|
||||
public bool is_search_2 { get; set; } = false;
|
||||
/// <summary>
|
||||
/// 商品信息待修改
|
||||
/// 月到账金额信息
|
||||
/// </summary>
|
||||
public int? waitProductNumber { get; set; } = 0;
|
||||
public bool is_search_3 { get; set; } = false;
|
||||
/// <summary>
|
||||
/// 调价待确认
|
||||
/// 店铺保证金信息
|
||||
/// </summary>
|
||||
public int? adjustPrice { get; set; } = 0;
|
||||
public bool is_search_4 { get; set; } = false;
|
||||
public string err_msg { get; set; }
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 开款待价格确认
|
||||
/// 首页订单信息 有已发布商品
|
||||
/// </summary>
|
||||
public int? reviewAdjustPrice { get; set; } = 0;
|
||||
public bool? havePublishProduct { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 在售商品数
|
||||
/// 首页订单信息 缺货数量?
|
||||
/// </summary>
|
||||
public int? onSaleProductNumber { get; set; } = 0;
|
||||
public int? lackSkcNumber { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 今日销量
|
||||
/// 首页订单信息 建议备货
|
||||
/// </summary>
|
||||
public int? saleVolume { get; set; } = 0;
|
||||
public int? advicePrepareSkcNumber { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 近7日销量
|
||||
/// 首页订单信息 商品信息待修改
|
||||
/// </summary>
|
||||
public int? sevenDaysSaleVolume { get; set; } = 0;
|
||||
public int? waitProductNumber { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 近30日销量
|
||||
/// 首页订单信息 调价待确认
|
||||
/// </summary>
|
||||
public int? thirtyDaysSaleVolume { get; set; } = 0;
|
||||
public ShopStatisticsPermissionsInfo permissions { get; set; }
|
||||
public int? adjustPrice { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 即将售罄(商品数量)
|
||||
/// 首页订单信息 开款待价格确认
|
||||
/// </summary>
|
||||
public int? aboutToSellOutNumber { get; set; } = 0;
|
||||
public int? reviewAdjustPrice { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 已经售罄(商品数量)
|
||||
/// 首页订单信息 在售商品数
|
||||
/// </summary>
|
||||
public int? alreadySoldOutNumber { get; set; } = 0;
|
||||
public int? onSaleProductNumber { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 近90天品质售后率
|
||||
/// 首页订单信息 今日销量
|
||||
/// </summary>
|
||||
public int? qualityAfterSaleRatio90d { get; set; } = 0;
|
||||
public int? saleVolume { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 高价限流商品数
|
||||
/// 首页订单信息 近7日销量
|
||||
/// </summary>
|
||||
public int? highPriceLimitNumber { get; set; } = 0;
|
||||
public int? sevenDaysSaleVolume { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 首页订单信息 近30日销量
|
||||
/// </summary>
|
||||
public int? thirtyDaysSaleVolume { get; set; } = null;
|
||||
//public ShopStatisticsPermissionsInfo permissions { get; set; }
|
||||
/// <summary>
|
||||
/// 首页订单信息 即将售罄(商品数量)
|
||||
/// </summary>
|
||||
public int? aboutToSellOutNumber { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 首页订单信息 已经售罄(商品数量)
|
||||
/// </summary>
|
||||
public int? alreadySoldOutNumber { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 首页订单信息 近90天品质售后率
|
||||
/// </summary>
|
||||
public int? qualityAfterSaleRatio90d { get; set; } = null;
|
||||
/// <summary>
|
||||
/// 首页订单信息 高价限流商品数
|
||||
/// </summary>
|
||||
public int? highPriceLimitNumber { get; set; } = null;
|
||||
|
||||
|
||||
public decimal? yesterdayIncomeAmount { get; set; } = 0;
|
||||
public decimal? thisMonthIncomeAmount { get; set; } = 0;
|
||||
public decimal? lastMonthIncomeAmount { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 可提现金额(可用余额)
|
||||
/// </summary>
|
||||
public decimal? availableBalance { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 预留额度(门槛)(这两个不清楚具体哪个对哪个)
|
||||
/// </summary>
|
||||
public decimal? mallDepositThreshold { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// 账户预留金额(这两个不清楚具体哪个对哪个)
|
||||
/// </summary>
|
||||
public decimal? mallDepositLimitAmount { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// 提现总金额
|
||||
/// </summary>
|
||||
public decimal? withdrawCashAmount { get; set; } = 0;
|
||||
}
|
||||
|
||||
public class ShopStatisticsPermissionsInfo
|
||||
{
|
||||
public bool? thirtyDaysSaleVolume { get; set; }
|
||||
public bool? qualityAfterSaleRatio90d { get; set; }
|
||||
public bool? adjustPrice { get; set; }
|
||||
public bool? alreadySoldOutNumber { get; set; }
|
||||
public bool? reviewAdjustPrice { get; set; }
|
||||
public bool? aboutToSellOutNumber { get; set; }
|
||||
public bool? advicePrepareSkcNumber { get; set; }
|
||||
public bool? waitProductNumber { get; set; }
|
||||
public bool? highPriceLimitNumber { get; set; }
|
||||
public bool? saleVolume { get; set; }
|
||||
public bool? lackSkcNumber { get; set; }
|
||||
public bool? sevenDaysSaleVolume { get; set; }
|
||||
public bool? onSaleProductNumber { get; set; }
|
||||
}
|
||||
//public class ShopStatisticsPermissionsInfo
|
||||
//{
|
||||
// public bool? thirtyDaysSaleVolume { get; set; }
|
||||
// public bool? qualityAfterSaleRatio90d { get; set; }
|
||||
// public bool? adjustPrice { get; set; }
|
||||
// public bool? alreadySoldOutNumber { get; set; }
|
||||
// public bool? reviewAdjustPrice { get; set; }
|
||||
// public bool? aboutToSellOutNumber { get; set; }
|
||||
// public bool? advicePrepareSkcNumber { get; set; }
|
||||
// public bool? waitProductNumber { get; set; }
|
||||
// public bool? highPriceLimitNumber { get; set; }
|
||||
// public bool? saleVolume { get; set; }
|
||||
// public bool? lackSkcNumber { get; set; }
|
||||
// public bool? sevenDaysSaleVolume { get; set; }
|
||||
// public bool? onSaleProductNumber { get; set; }
|
||||
//}
|
||||
}
|
||||
Reference in new issue
Block a user