100 lines
2.9 KiB
C#
100 lines
2.9 KiB
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace Weixin.JDCirclePromotion
|
|||
|
{
|
|||
|
public class Enums
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 京东类目枚举
|
|||
|
/// </summary>
|
|||
|
public enum CategoryType
|
|||
|
{
|
|||
|
/*
|
|||
|
频道ID:1-好券商品,2-精选卖场,10-9.9包邮,15-京东配送,22-实时热销榜,23-为你推荐,24-数码家电,25-超市,26-母婴玩具,27-家具日用,28-美妆穿搭,30-图书文具,31-今日必推,32-京东好物,33-京东秒杀,34-拼购商品,40-高收益榜,41-自营热卖榜,109-新品首发,110-自营,112-京东爆品,125-首购商品,129-高佣榜单,130-视频商品,153-历史最低价商品榜
|
|||
|
*/
|
|||
|
|
|||
|
//--------新的
|
|||
|
好券商品 = 1,
|
|||
|
精选卖场 = 2,
|
|||
|
九块九专区 = 10,
|
|||
|
京东配送 = 15,
|
|||
|
实时热销榜 = 22,
|
|||
|
为你推荐 = 23,
|
|||
|
数码家电 = 24,
|
|||
|
超市 = 25,
|
|||
|
母婴玩具 = 26,
|
|||
|
家具日用 = 27,
|
|||
|
美妆穿搭 = 28,
|
|||
|
图书文具 = 30,
|
|||
|
今日必推 = 31,
|
|||
|
京东好物 = 32,
|
|||
|
京东秒杀 = 33,
|
|||
|
拼购商品 = 34,
|
|||
|
高收益榜 = 40,
|
|||
|
自营热卖榜 = 41,
|
|||
|
新品首发 = 109,
|
|||
|
自营 = 110,
|
|||
|
京东爆品 = 112,
|
|||
|
首购商品 = 125,
|
|||
|
高佣榜单 = 129,
|
|||
|
视频商品 = 130,
|
|||
|
历史最低价商品榜 = 153
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 排序字段
|
|||
|
/// </summary>
|
|||
|
public enum OrderFieldType
|
|||
|
{
|
|||
|
//price:单价, commissionShare:佣金比例, commission:佣金, inOrderCount30DaysSku:sku维度30天引单量,comments:评论数,goodComments:好评数
|
|||
|
单价 = 1,
|
|||
|
佣金比例 = 2,
|
|||
|
佣金 = 3,
|
|||
|
月销量 = 4,
|
|||
|
评论数 = 5,
|
|||
|
好评数 = 6
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 排序字段
|
|||
|
/// </summary>
|
|||
|
public enum _OrderFieldType
|
|||
|
{
|
|||
|
//price:单价, commissionShare:佣金比例, commission:佣金, inOrderCount30DaysSku:sku维度30天引单量,comments:评论数,goodComments:好评数
|
|||
|
price = 1,
|
|||
|
commissionShare = 2,
|
|||
|
commission = 3,
|
|||
|
inOrderCount30DaysSku = 4,
|
|||
|
comments = 5,
|
|||
|
goodComments = 6
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 排序
|
|||
|
/// </summary>
|
|||
|
public enum SortType
|
|||
|
{
|
|||
|
//asc,desc升降序,默认降序
|
|||
|
升序 = 1,
|
|||
|
降序 = 2
|
|||
|
}
|
|||
|
|
|||
|
public enum GoodsSourceType
|
|||
|
{
|
|||
|
文件导入 = 0,
|
|||
|
接口采集 = 1,
|
|||
|
对象 = 2
|
|||
|
}
|
|||
|
|
|||
|
public enum StateType
|
|||
|
{
|
|||
|
已推广 = 0,
|
|||
|
未推广 = 1
|
|||
|
}
|
|||
|
}
|
|||
|
}
|