SearchRequestParams.java
12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
package com.yoho.search.common;
public class SearchRequestParams {
// 页面id
public static final String PARAM_SEARCH_PAGEID = "pageId"; // 页面id
public static final String PARAM_SEARCH_UID = "uid"; // uid
public static final String PARAM_SEARCH_UDID = "udid"; // udid
//分页参数
public static final String PARAM_SEARCH_PAGE = "page";//页码
public static final String PARAM_SEARCH_VIEWNUM = "viewNum"; // 数量
public static final String PARAM_SEARCH_SHOP_PRODUCT_COUNT = "shopProductCount"; // 数量
//检索参数
public static final String PARAM_SEARCH_QUERY = "query";// 检索关键词
public static final String PARAM_SEARCH_FILTER_QUERY = "filterQuery";// 过滤关键词,不打分
public static final String PARAM_SEARCH_IS_ENCODE = "is_encode";// 检索关键词
public static final String PARAM_SEARCH_SHOPS_KEYWORD = "keyword";// 店铺检索词
public static final String PARAM_SEARCH_CONTIAN_XIXUAN = "contain_xixuan";// 模糊搜索资源位是否包含细选
//排序参数
public static final String PARAM_SEARCH_ORDER = "order";// 排序值
public static final String PARAM_SEARCH_REC_TYPE = "search_rec_type"; // order为空时有效,推荐类型: 1-默认,2-强个性化
//聚合-参数
public static final String PARAM_SEARCH_NEEDSMALLSORT = "needSmallSort";// 聚合时使用小分类参数
public static final String PARAM_SEARCH_AGG_WITH_PARAM_BRAND = "aggWithParamBrand";// 聚合时使用参数中的品牌id
public static final String PARAM_SEARCH_NEED_SUGGESTION = "needSuggestion"; // 是否返回分词推荐[Y/N]
public static final String PARAM_SEARCH_PARAMETPERNUM = "paramNum"; // 返回规格数量
public static final int PARAM_SEARCH_PARAMETPER_DEFAULTNUM = 5; // 返回的默认规格数量
//特殊功能-参数
public static final String PARAM_SEARCH_FIRST_PRODUCRSKN = "firstProductSkn";// 展示在前面的skns
public static final String PARAM_SEARCH_FIRST_SHOPIDS = "firstShopIds";// 展示在前面的店铺
public static final String PARAM_SEARCH_GLOBAL_FILTER_BRAND = "isFilterDescoreBrand"; // Y:过滤掉全局降分品牌的商品
public static final String PARAM_SEARCH_IS_FOR_MARKET_PROMOTION = "isForMarketPromotion"; // 市场推广参数
public static final String PARAM_SEARCH_PHYSICAL_CHANNEL = "physical_channel";// 频道:1,2,3,4.搜索时针对性别降分
public static final String PARAM_SEARCH_YH_CHANNEL = "yh_channel";// 频道
public static final String PARAM_SEARCH_CATEGORY_ID = "categoryId"; // 二级销售类目
public static final String PARAM_SEARCH_SUB_CATEGORY_ID = "subCategoryId"; // 三级销售类目
public static final String PARAM_SEARCH_CUSTOMIZE_TAG = "customize_tag";//自定义标签id,会转成商品池id
public static final String PARAM_SEARCH_LABLE = "search_label";//销售标签id
//过滤相关参数
public static final String PARAM_SEARCH_PRODUCT_SKN = "product_skn"; // SKN
public static final String PARAM_SEARCH_GENDER = "gender"; // 性别ids[1,2,3]
public static final String PARAM_SEARCH_AGELEVEL = "ageLevel"; // 查询年龄段
public static final String PARAM_SEARCH_MAXSORT = "msort"; // 查询大类
public static final String PARAM_SEARCH_MIDDLESORT = "misort"; // 查询中类
public static final String PARAM_SEARCH_SMALLSORT = "sort"; // 查询小类
public static final String PARAM_SEARCH_COMMONSORT = "common_sort";// 不区分大中小分类的品类id
public static final String PARAM_SEARCH_BRAND = "brand"; // 查询品牌
public static final String PARAM_SEARCH_SHOP = "shop";// 店铺id
public static final String PARAM_SEARCH_HR_SHOP = "hrShopId";// 红人店铺id
public static final String PARAM_SEARCH_SHOP_CREATE_TIME = "shopCreateTime";// 店铺创建时间
public static final String PARAM_SEARCH_ISPROMOTION = "promotion"; // 专区id
public static final String PARAM_SEARCH_FILTER_POOLID = "filter_poolId";//商品池id
public static final String PARAM_SEARCH_APPTYPE = "app_type"; // APP类型
public static final String PARAM_SEARCH_STATUS = "status"; // 查询是否上架
public static final String PARAM_SEARCH_STORESHOWSTATUS = "storeShowStatus";
public static final String PARAM_SEARCH_STOCKNUM = "stocknumber"; // 商品库存
public static final String PARAM_SEARCH_SHOWSOLDOUT = "showSoldOut"; // 是否显示售罄商品[1]
public static final String PARAM_SEARCH_ISNEW = "new"; // 查询是否新品
public static final String PARAM_SEARCH_NEW_DAT_COUNT = "new_day_count"; // 新品天数[批次上新时间]
public static final String PARAM_SEARCH_MAX_IN_STORAGE_TIME = "max_in_storage_time"; // 最大批次上新时间
public static final String PARAM_SEARCH_DAY = "day"; // 上架日期
public static final String PARAM_SEARCH_SHELVETIME = "shelve_time"; // ◆假上架时间
public static final String PARAM_SEARCH_FIRST_SHELVE_TIME = "first_shelve_time"; // 真上架时间
public static final String PARAM_SEARCH_PRICE = "price"; // 查询价格
public static final String PARAM_SEARCH_PD = "p_d"; // ◆促销折扣浮点值(如0.7)
public static final String PARAM_SEARCH_PDINT = "p_d_int"; // ◆促销折扣整数值(如7)
public static final String PARAM_SEARCH_VIPDISCOUNTTYPE = "vdt"; // ◆VIP折扣类型
public static final String PARAM_SEARCH_SPECIALOFFER = "specialoffer"; // ◆是否为促销品
public static final String PARAM_SEARCH_ISDISCOUNT = "isdiscount"; // 是否折扣
public static final String PARAM_SEARCH_PRICE_UPDATE_TIME = "priceUpdateTime"; // 价格更新时间
public static final String PARAM_SEARCH_LAST_REDUCE_PRICE_TIME = "lastReducePriceTime"; // 降价时间
public static final String PARAM_SEARCH_SIZE = "size"; // 查询尺码ids
public static final String PARAM_SEARCH_BREAKING = "breaking"; // 是否断码
public static final String PARAM_SEARCH_COLOR = "color"; // 查询颜色
public static final String PARAM_SEARCH_STYLE = "style"; // 查询风格
public static final String PARAM_SEARCH_MATERIAL = "material";//材质
public static final String PARAM_SEARCH_STANDARD_PARAMETER_ = "parameter_";//规格参数-旧
public static final String PARAM_SEARCH_STANDARD_AND = "standard";//传多个值是与的关系
public static final String PARAM_SEARCH_STANDARD_OR = "standards";//传多个值是或的关系
public static final String PARAM_SEARCH_ISOUTLETS = "outlets"; // 查询是否奥莱
public static final String PARAM_SEARCH_ATTRIBUTE = "attribute"; // 1正常商品,2赠品
public static final String PARAM_SEARCH_ATTRIBUTE_NOT = "attribute_not"; // ◆赠品属性
public static final String PARAM_SEARCH_ISSALES = "sales"; // ◆查询是否销售(有货不销售)
public static final String PARAM_SEARCH_SELLCHANNELS = "sell_channels"; // ◆销售平台(网站、APP、现场)
public static final String PARAM_SEARCH_BUNDLETYPE = "bundleType"; // 售卖类型
public static final String PARAM_SEARCH_FOLDERID = "folder_id"; //
public static final String PARAM_SEARCH_SERIESID = "series_id"; //
public static final String PARAM_SEARCH_STUDENTPRICE = "isStudentPrice"; // 查询学生价
public static final String PARAM_SEARCH_STUDENTREBATE = "isStudentRebate"; // 查询学生返币
public static final String PARAM_SEARCH_ISINSTALMENT = "isInstalment"; // 是否支持分期
public static final String PARAM_SEARCH_ISLIMITED = "limited"; // 查询是否限量
public static final String PARAM_SEARCH_ISLIMITEDBUY = "isLimitbuy"; // 查询是否限购
public static final String PARAM_SEARCH_ISADVANCE = "isAdvance"; // 查询是否预售
public static final String PARAM_SEARCH_ISDESPOSITADVANCE = "isDepositAdvance"; // 查询是否定金预售
public static final String PARAM_SEARCH_ISLIMITTIMEADVANCE = "isLimitTimeAdvance"; // 查询是否定金促销
public static final String PARAM_SEARCH_ISBONDED = "isBonded"; // 查询是否保税仓
public static final String PARAM_SEARCH_CONTAIN_GLOBAL = "contain_global"; // 是否包含全球购
public static final String PARAM_SEARCH_IS_GLOBAL = "is_global"; // 是否只看全球购【y/n】
public static final String PARAM_SEARCH_CONTAIN_SECKILL = "contain_seckill"; // 是否包含秒杀[y]
public static final String PARAM_SEARCH_CONTAIN_FOBBIDEN = "contain_fobbiden"; // 是否包含秒杀[y]
//public static final String PARAM_SEARCH_CONTAIN_ZEROHELP = "contain_zerohelp"; // 是否包含0元助力[y]
public static final String PARAM_SEARCH_USER_VIP_LEVEL = "userVipLevel";// 用户VIP等级
//not 参数
public static final String PARAM_SEARCH_NOT_PRODUCT_SKN = "not_productSkn";
public static final String PARAM_SEARCH_NOT_BRAND_ID = "not_brandId";
public static final String PARAM_SEARCH_NOT_SHOP_ID = "not_shopId";
public static final String PARAM_SEARCH_NOT_PROMOTION = "not_promotion";
public static final String PARAM_SEARCH_NOT_MAXSORT_ID = "not_maxSortId";
//用劵限制
public static final String PARAM_SEARCH_COUPONLIMITSTATUS = "couponLimitStatus";
public static final String PARAM_SEARCH_COUPONLIMITTYPES = "couponLimitTypes";
// 活动模板相关过滤条件
public static final String PARAM_SEARCH_ACT_TEMP = "act_temp"; // 模板id
public static final String PARAM_SEARCH_ACT_REC = "act_rec"; // 是否推荐
public static final String PARAM_SEARCH_ACT_STATUS = "act_status"; // 状态
//拼团
public static final String PARAM_SEARCH_COLLAGE_ACTIVITYIDS = "collageActivityIds"; // 拼团活动id
//砍价
//商品类型
public static final String PARAM_SEARCH_CUTDOWN_PRICE_PRODUCT_TYPE = "cutDownPriceProductType";
// helper index param
public static final String HELPER_PARAM_FIRSTCATEGORYID = "firstCategoryId";
public static final String HELPER_PARAM_SECENDCATEGORYID = "secendCategoryId";
public static final String HELPER_PARAM_HELPERTYPE = "helperType";
public static final String HELPER_PARAM_ISFAQ = "isFaq";
public static final String HELPER_PARAM_ISROBOTQA = "isRobotQa";
public static final String HELPER_PARAM_ISCUSTOMERSERVICE = "isCustomerService";
public static final String HELPER_PARAM_SHOWPLATFORM = "showPlatform";
public static final String HELPER_PARAM_STATUS = "status";
// shops index param
public static final String SHOPS_PARAM_BLKSTATUS = "blkStatus";
public static final String SHOPS_PARAM_CHECKSTATUS = "checkStatus";
public static final String SHOPS_PARAM_EXAMINESTATUS = "examineStatus";
public static final String SHOPS_PARAM_OPERATIONSTATUS = "operationStatus";
public static final String SHOPS_PARAM_SHOPSTYPE = "shopsType";
public static final String SHOPS_PARAM_STATUS = "status";
//ImageRepertory index param
public static final String IMAGEREPERTORY_PARAM_ID = "id";
public static final String IMAGEREPERTORY_PARAM_ITEMID = "itemId";
public static final String IMAGEREPERTORY_PARAM_CHANNEL = "channel";
public static final String IMAGEREPERTORY_PARAM_SEASON = "season";
public static final String IMAGEREPERTORY_PARAM_IMAGESIZE = "imageSize";
public static final String IMAGEREPERTORY_PARAM_IMAGENAME = "imageName";
public static final String IMAGEREPERTORY_PARAM_IMAGETYPE = "imageType";
public static final String IMAGEREPERTORY_PARAM_ITEMTYPE = "itemType";
public static final String IMAGEREPERTORY_PARAM_PORT = "port";
//Promotion index field
public static final String PROMOTIONINDEX_ISDEL = "isDel";
public static final String PROMOTIONINDEX_COMMONBANNER = "commonBanner";
//brand index field
public static final String BRANDINDEX_ID = "brandIds";
// 是否包含UFO
public static final String PARAM_SEARCH_CONTAIN_UFO = "contain_ufo";
// 是否只过滤UFO
public static final String PARAM_SEARCH_IS_UFO = "is_ufo";
}