SearchRequestParams.java 5.79 KB
package com.yoho.search.service.utils;

public class SearchRequestParams {

	public static final String PARAM_SYNC_SKN = "product_skn"; // SKN
	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_GENDER = "gender"; // 查询男女款
	public static final String PARAM_SEARCH_AGELEVEL = "ageLevel"; // 查询年龄段
	public static final String PARAM_SEARCH_APPTYPE = "app_type"; // APP类型
	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_COUNTRYID = "countryId"; // 商品产地
	public static final String PARAM_SEARCH_BRAND = "brand"; // 查询品牌
	public static final String PARAM_SEARCH_PRICE = "price"; // 查询价格
	public static final String PARAM_SEARCH_STOCKNUM = "stocknumber"; // 商品库存
	public static final String PARAM_SEARCH_STYLE = "style"; // 查询风格
	public static final String PARAM_SEARCH_COLOR = "color"; // 查询颜色
	public static final String PARAM_SEARCH_SIZE = "size"; // 查询尺码
	public static final String PARAM_SEARCH_PARAMETPERNUM = "paramNum"; // 返回规格数量
	public static final int RESULT_PARAM_COMMON = 5;
	public static final String PARAM_SEARCH_ISNEW = "new"; // 查询是否新品
	public static final String PARAM_SEARCH_ISOUTLETS = "outlets"; // 查询是否奥莱
	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_SPECIALOFFER = "specialoffer"; // ◆是否为促销品
	public static final String PARAM_SEARCH_ISSALES = "sales"; // ◆查询是否销售(有货不销售)
	public static final String PARAM_SEARCH_ISPROMOTION = "promotion"; // 特价类型
	public static final String PARAM_SEARCH_VIPDISCOUNTTYPE = "vdt"; // ◆VIP折扣类型
	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_SHELVETIME = "shelve_time"; // ◆上架时间
	public static final String PARAM_SEARCH_FIRST_SHELVE_TIME = "first_shelve_time"; // 首次上架时间
	public static final String PARAM_SEARCH_FIRSTSHELVETIME = "firstshelvetime"; // 首次上架时间
	public static final String PARAM_SEARCH_ISDISCOUNT = "isdiscount"; // 是否折扣
	public static final String PARAM_SEARCH_STORAGENUM = "storage_num"; // ◆库存
	public static final String PARAM_SEARCH_ATTRIBUTE = "attribute"; // 商品属性
																		// 1正常商品
																		// 2赠品
	public static final String PARAM_SEARCH_SELLCHANNELS = "sell_channels"; // ◆销售平台
																			// (网站、APP、现场)
	public static final String PARAM_SEARCH_ATTRIBUTE_NOT = "attribute_not"; // ◆商品属性
	public static final String PARAM_SEARCH_STATUS = "status"; // 查询是否上架
	public static final String PARAM_SEARCH_KEYWORD = "query";// 检索词
	public static final String PARAM_SEARCH_SHOPS_KEYWORD = "keyword";// 店铺检索词
	public static final String PARAM_SEARCH_SHOP = "shop";// 店铺检索词

	public static final int RESULT_SIZE_SUGGEST = 5;// suggest返回个数
	public static final String PARAM_SEARCH_DAY = "day"; // 上架日期
	public static final String PARAM_SEARCH_BREAKING = "breaking"; // 是否断码

	// 活动模板相关过滤条件
	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_GLOBAL_DESCORE_BRAND = "isAdjustBrandScore"; // 是否要对全局降分品牌进行降分
	public static final String PARAM_SEARCH_GLOBAL_FILTER_BRAND = "isFilterDescoreBrand"; // 是否过滤掉全局降分品牌的商品

	// 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";
	public static final String SHOPS_PARAM_ISGLOBAL = "isGlobal";

	public static final String FIRST_PRODUCRSKN = "firstProductSkn";

	public static final String DESOCRE_GENDER = "descoreGender";
	public static final String DESOCRE_AGELEVEL = "descoreAgeLevel";
	public static final String DESOCRE_NOT_SORT = "descoreNotSort";

}