SearchRequestParams.java 11.9 KB
package com.yoho.search.common;

public class SearchRequestParams {

    public static final String PARAM_SEARCH_PRODUCT_SKN = "product_skn"; // SKN
    public static final String PARAM_SEARCH_PAGEID = "pageId"; // 页面id
    public static final String PARAM_SEARCH_REC_TYPE = "search_rec_type"; // 推荐类型: 1-默认,2-强个性化

    public static final String PARAM_SEARCH_VIEWNUM = "viewNum"; // 数量

    public static final String PARAM_SEARCH_QUERY = "query";// 检索关键词
    public static final String PARAM_SEARCH_SHOPS_KEYWORD = "keyword";// 店铺检索词
    public static final String PARAM_SEARCH_GENDER = "gender"; // 性别ids[1,2,3]

    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_NEEDSMALLSORT = "needSmallSort";// 聚合时使用小分类参数
    public static final String PARAM_SEARCH_AGG_WITH_PARAM_BRAND = "aggWithParamBrand";// 聚合时使用参数中的品牌id

    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_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"; // 查询尺码ids

    public static final String PARAM_SEARCH_PARAMETPERNUM = "paramNum"; // 返回规格数量
    public static final int PARAM_SEARCH_PARAMETPER_DEFAULTNUM = 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_ISLIMITTIMEADVANCE = "isLimitTimeAdvance"; // 查询是否定金促销

    public static final String PARAM_SEARCH_BUNDLETYPE = "bundleType"; // 售卖类型

    public static final String PARAM_SEARCH_SPECIALOFFER = "specialoffer"; // ◆是否为促销品
    public static final String PARAM_SEARCH_ISSALES = "sales"; // ◆查询是否销售(有货不销售)
    public static final String PARAM_SEARCH_ISPROMOTION = "promotion"; // 专区id
    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_ISDISCOUNT = "isdiscount"; // 是否折扣
    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_FOLDERID = "folder_id"; //
    public static final String PARAM_SEARCH_SERIESID = "series_id"; //
    public static final String PARAM_SEARCH_COUPONLIMITSTATUS = "couponLimitStatus"; //
    public static final String PARAM_SEARCH_COUPONLIMITTYPES = "couponLimitTypes"; //

    public static final String PARAM_SEARCH_ATTRIBUTE_NOT = "attribute_not"; // ◆赠品属性
    public static final String PARAM_SEARCH_STATUS = "status"; // 查询是否上架

    public static final String PARAM_SEARCH_ORDER = "order";// 排序值

    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_DAY = "day"; // 上架日期
    public static final String PARAM_SEARCH_BREAKING = "breaking"; // 是否断码

    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_SHOWSOLDOUT = "showSoldOut"; // 是否显示售罄商品[1]

    public static final String PARAM_SEARCH_FIRST_PRODUCRSKN = "firstProductSkn";// 展示在前面的skns
    public static final String PARAM_SEARCH_PHYSICAL_CHANNEL = "physical_channel";// 频道:1,2,3,4
    public static final String PARAM_SEARCH_USER_VIP_LEVEL = "userVipLevel";// 用户VIP等级
    public static final String PARAM_SEARCH_GLOBAL_FILTER_BRAND = "isFilterDescoreBrand"; // 是否过滤掉全局降分品牌的商品

    public static final String PARAM_SEARCH_NEED_SUGGESTION = "needSuggestion"; // 是否返回分词推荐[Y/N]

    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_IS_FOR_MARKET_PROMOTION = "isForMarketPromotion"; // 市场推广参数

    public static final String PARAM_SEARCH_FILTER_POOLID = "filter_poolId";
    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_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_STORESHOWSTATUS = "storeShowStatus";

    // 拼团活动id
    public static final String PARAM_SEARCH_COLLAGE_ACTIVITYIDS = "collageActivityIds"; // 售卖类型

    // 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";


    public static final String SHOPS_PARAM_CUSTOMIZE_TAG = "customize_tag";

    //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";

    //yohoproductanalysis
    public static final String PARAM_SEARCH_YH_CHANNEL = "yh_channel";// 频道
    public static final String PARAM_SEARCH_SHOP_CREATE_TIME = "shopCreateTime";// 频道

    //ufo
    public static final String UFOPRODUCTINDEX_SEARCH_QUERY = "query";
    public static final String UFOPRODUCTINDEX_PARAM_ID = "id";
    public static final String UFOPRODUCTINDEX_PARAM_NOT_ID = "not_id";
    public static final String UFOPRODUCTINDEX_PARAM_MAXSORT = "maxSort";
    public static final String UFOPRODUCTINDEX_PARAM_MIDSORT = "midSort";
    public static final String UFOPRODUCTINDEX_PARAM_GENDER = "gender";
    public static final String UFOPRODUCTINDEX_PARAM_BRAND = "brand";
    public static final String UFOPRODUCTINDEX_PARAM_SERIES = "series";
    public static final String UFOPRODUCTINDEX_PARAM_SIZE = "size";
    public static final String UFOPRODUCTINDEX_PARAM_COLOR = "color";
    public static final String UFOPRODUCTINDEX_PARAM_POOL = "pool";
    public static final String UFOPRODUCTINDEX_PARAM_IS_SOON_SALE = "isSoonSale";
    public static final String UFOPRODUCTINDEX_PARAM_IS_ID_FILTER = "isIdFilter";
    // 是否包含UFO
    public static final String PARAM_SEARCH_CONTAIN_UFO = "contain_ufo";
    // 是否只过滤UFO
    public static final String PARAM_SEARCH_IS_UFO = "is_ufo";
    // ufo日历开始结束时间
    public static final String UFO_PARAM_STRAT_TIME = "startTime";
    public static final String UFO_PARAM_END_TIME = "endTime";


    //Collage index
    public static final String COLLAGE_PARAM_ACTIVITYID = "activityId";//拼团活动ID
    public static final String COLLAGE_PARAM_OPENLIMIT = "openLimit";//开团限制:1、仅限新客;2、不限制
    public static final String COLLAGE_PARAM_JOINLIMIT = "joinLimit";//参团限制:1、仅限新客;2、不限制
    public static final String COLLAGE_PARAM_ISAUTO = "isAuto";//自动拼团:1、自动;2、不自动
    public static final String COLLAGE_PARAM_PAYLIMIT = "payLimit";//支付限制:0或NULL 无限制 1:仅APP可支付 2:仅小程序可支付
    public static final String COLLAGE_PARAM_PRODUCTLIMIT = "productLimit";//商品限制:0或null 无限制 1:参团SKN和开团一致
    public static final String COLLAGE_PARAM_PEOPLENUMLIMIT = "peopleNum";//拼团人数
    public static final String COLLAGE_PARAM_ONLY_SHOW_BEGIN = "onlyShowBegin";//是否只展示开始的


}