169 lines
5.7 KiB
C#
169 lines
5.7 KiB
C#
using AllBase.Model.Result.WXResult;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace AllBase.Model.Config
|
|
{
|
|
public class WxShopMainStatisticsInfo
|
|
{
|
|
public int? code { get; set; } // 0,
|
|
/// <summary>
|
|
/// 待发货
|
|
/// </summary>
|
|
public MainStatisticsInfoRet orderNumRet { get; set; }
|
|
/// <summary>
|
|
/// 物流异常
|
|
/// </summary>
|
|
public MainStatisticsInfoRet waybillErrorRet { get; set; }
|
|
/// <summary>
|
|
/// 售后
|
|
/// </summary>
|
|
public MainStatisticsInfoRet aftersaleAllRet { get; set; }
|
|
/// <summary>
|
|
/// 服务保障
|
|
/// </summary>
|
|
public MainStatisticsInfoRet guaranteeRet { get; set; }
|
|
/// <summary>
|
|
/// 店铺预警
|
|
/// </summary>
|
|
public MainStatisticsInfoRet prewarnRet { get; set; }
|
|
/// <summary>
|
|
/// 店铺违规
|
|
/// </summary>
|
|
public MainStatisticsInfoRet punishRet { get; set; }
|
|
/// <summary>
|
|
/// 工单
|
|
/// </summary>
|
|
public MainStatisticsInfoRet mchUndealRet { get; set; }
|
|
|
|
public DateTime LastRefreshDate { get; set; }
|
|
}
|
|
|
|
public class MainStatisticsInfoRet
|
|
{
|
|
//orderNumRet-pendingShipNum待发货 waybillErrorRet物流异常 aftersaleAllRet售后 guaranteeRet服务保障 prewarnRet店铺预警 punishRet店铺违规 mchUndealRet工单
|
|
public int? code { get; set; } // 0
|
|
public int? totalNum { get; set; } // 0
|
|
public int? pendingNum { get; set; } // 1
|
|
public int? pendingShipNum { get; set; } // 1
|
|
public int? waitStatusCount { get; set; } // 0
|
|
public int? num
|
|
{
|
|
get
|
|
{
|
|
if (totalNum != null)
|
|
return totalNum;
|
|
if (pendingNum != null)
|
|
return pendingNum;
|
|
if (pendingShipNum != null)
|
|
return pendingShipNum;
|
|
if (waitStatusCount != null)
|
|
return waitStatusCount;
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
public class WxShopSaleStatisticsGroup
|
|
{
|
|
public string ShopId { get; set; }
|
|
public string ShopAccount { get; set; }
|
|
public string Notes { get; set; }
|
|
public string GroupName { get; set; }
|
|
|
|
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>
|
|
/// 主页店铺信息
|
|
/// </summary>
|
|
public WxShopMainStatisticsInfo WxShopMainInfo { get; set; } = new WxShopMainStatisticsInfo();
|
|
/// <summary>
|
|
/// 主页今日店铺经营信息
|
|
/// </summary>
|
|
public WxShopSaleStatisticsInfo WxShopSaleInfoToday { get; set; } = new WxShopSaleStatisticsInfo();
|
|
/// <summary>
|
|
/// 主页昨日店铺经营信息
|
|
/// </summary>
|
|
public WxShopSaleStatisticsInfo WxShopSaleInfo1Day { get; set; } = new WxShopSaleStatisticsInfo();
|
|
/// <summary>
|
|
/// 主页近7日店铺经营信息
|
|
/// </summary>
|
|
public WxShopSaleStatisticsInfo WxShopSaleInfo7Day { get; set; } = new WxShopSaleStatisticsInfo();
|
|
/// <summary>
|
|
/// 主页近30日店铺经营信息
|
|
/// </summary>
|
|
public WxShopSaleStatisticsInfo WxShopSaleInfo30Day { get; set; } = new WxShopSaleStatisticsInfo();
|
|
|
|
public WxAmount WxShopAmount { get; set; } = new WxAmount();
|
|
|
|
public string err_msg;
|
|
}
|
|
|
|
public class WxShopSaleStatisticsInfo
|
|
{
|
|
/// <summary>
|
|
/// 成交金额
|
|
/// </summary>
|
|
public string pay_gmv { get; set; } // "118574",
|
|
public string pay_gmv_tb { get; set; } // "",
|
|
public string pay_gmv_ind { get; set; } // "0.461936",
|
|
/// <summary>
|
|
/// 成交人数
|
|
/// </summary>
|
|
public string pay_uv { get; set; } // "47",
|
|
public string pay_uv_tb { get; set; } // "",
|
|
public string pay_uv_ind { get; set; } // "0.583592",
|
|
/// <summary>
|
|
/// 成交订单数
|
|
/// </summary>
|
|
public string pay_order_cnt { get; set; } // "50",
|
|
public string pay_order_cnt_tb { get; set; } // "",
|
|
public string pay_order_cnt_ind { get; set; } // "0.57901",
|
|
/// <summary>
|
|
/// 成交退款金额
|
|
/// </summary>
|
|
public string pay_refund_gmv { get; set; } // "6272",
|
|
public string pay_refund_gmv_tb { get; set; } // "",
|
|
public string pay_refund_gmv_ind { get; set; } // "0.411973",
|
|
/// <summary>
|
|
/// 商品点击人数
|
|
/// </summary>
|
|
public string product_click_uv { get; set; } // "368",
|
|
public string product_click_uv_tb { get; set; } // "",
|
|
public string product_click_uv_ind { get; set; } // "0.56263"
|
|
|
|
public DateTime LastRefreshDate { get; set; }
|
|
}
|
|
|
|
public class WxAmount
|
|
{
|
|
/// <summary>
|
|
/// 总货款
|
|
/// </summary>
|
|
public int? totalAmount { get; set; }
|
|
/// <summary>
|
|
/// 可提现
|
|
/// </summary>
|
|
public int? availableAmount { get; set; }
|
|
/// <summary>
|
|
/// 待结算
|
|
/// </summary>
|
|
public int? pendingAmount { get; set; }
|
|
|
|
public int? tempFrozenAmount { get; set; }
|
|
|
|
/// <summary>
|
|
/// 保证金,在另一个接口获取
|
|
/// </summary>
|
|
public int? DepositBalance { get; set; }
|
|
|
|
public DateTime LastRefreshDate { get; set; }
|
|
}
|
|
}
|