package com.tzy.common.constant;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 通用常量信息
 * 
 * @author zheng
 */
public class Constants {
	/**
	 * UTF-8 字符集
	 */
	public static final String UTF8 = "UTF-8";

	/**
	 * GBK 字符集
	 */
	public static final String GBK = "GBK";

	/**
	 * 通用成功标识
	 */
	public static final String SUCCESS = "0";

	/**
	 * 通用失败标识
	 */
	public static final String FAIL = "1";

	/**
	 * 登录成功
	 */
	public static final String LOGIN_SUCCESS = "Success";

	/**
	 * 注销
	 */
	public static final String LOGOUT = "Logout";

	/**
	 * 注册
	 */
	public static final String REGISTER = "Register";

	/**
	 * 登录失败
	 */
	public static final String LOGIN_FAIL = "Error";

	/**
	 * 当前记录起始索引
	 */
	public static final String PAGE_NUM = "pageNum";

	/**
	 * 每页显示记录数
	 */
	public static final String PAGE_SIZE = "pageSize";

	/**
	 * 排序列
	 */
	public static final String ORDER_BY_COLUMN = "orderByColumn";

	/**
	 * 排序的方向 "desc" 或者 "asc".
	 */
	public static final String IS_ASC = "isAsc";

	/**
	 * 参数管理 cache name
	 */
	public static final String SYS_CONFIG_CACHE = "sys-config";

	/**
	 * 参数管理 cache key
	 */
	public static final String SYS_CONFIG_KEY = "sys_config:";

	/**
	 * 字典管理 cache name
	 */
	public static final String SYS_DICT_CACHE = "sys-dict";

	/**
	 * 字典管理 cache key
	 */
	public static final String SYS_DICT_KEY = "sys_dict:";

	/**
	 * 资源映射路径 前缀
	 */
	public static final String RESOURCE_PREFIX = "/profile";
	public static final String STOCK_GROUP_INFO = "STOCK_GROUP_INFO_";
	public static final String AUTHENTICATION_TOKEN = "REDIS_AUTHENTICATION_TOKEN_";
	public static final String AUTHORIZATION = "token";
	public static final String ORDER_BY = "order by ";
	public static final String STATUS_OK = "1";
	public static final String ONE = "1";
	public static final String ZERO = "0";
	public static final String TWO = "2";
	public static final String FINANCE_TYPE_ADD = "支付";
	public static final String FINANCE_TYPE_RETURN = "退款";
	public static final String PAY_CALLBACK_LOCK_KEY = "pay_callback_lock_key";
	public static final String ORDER_CALLBACK_LOCK_KEY = "order_callback_lock_key";
	public static final String TRADE_SUCCESS = "支付成功";
	public static final String TRADE_SUCCESS_EN = "SUCCESS";
	public static final String ALIPAY_TRADE_SUCCESS = "TRADE_SUCCESS";
	public static final String ALIPAY_REFUND_SUCCESS = "REFUND_SUCCESS";
	public static final String REDIRECT_PATH = "/pageB/productDetail/productDetail?id=";
	public static final String TYPE_BANNER_DETAIL = "banner_detail";
	public static final String QINIU_HOST = "https://static.public.hobbystock.cn";
	public static final String MERCHANT_INFO_TYPE_SALE = "sale";
	public static final String MERCHANT_INFO_TYPE_HISTORY = "history";
	public static final String KEY_WORD = "keyword";
	public static final String BANK_STR = " ";
	public static final String EMPTY_STR = "";
	public static final String AND_STR = "&";
	public static final String USER_FACE_VERIFY = "USER_FACE_VERIFY_ID";
	public static final String RY_TOKEN = "RY_TOKEN";
	//商家拉黑类型
	public static final @NotNull String DICT_TYPE_MER_PULL_BACK = "mer_pull_back";
	public static long timesDay = 60 * 60 * 24 * 7;
	public static long times = 1000 * timesDay;
	public static final String OPTIONS = "OPTIONS";
	public static final String ORDER_BUY_ALL_MARK = "ORDER_BUY_ALL_MARK";
	public static final String CARD_INFO_MARK = "CARD_INFO_MARK_";
	public static final String CARD_GOODS_ACT_SIGN = "CARD_GOODS_ACT_SIGN";
	public static final String CARD_INFO_ACT_SIGN = "CARD_INFO_ACT_SIGN";
	public static Map<String, Object> JSON_HEADS = new HashMap(1) {{
		put("Content-Type", "application/json");
	}};
	public static final String JPUSH_TYPE_TAG = "tags";
	public static final String JPUSH_TYPE_ID = "registrationIds";
	public static final String ORDER_BUY_ALL_RETURN_TITLE = "亲爱的用户您好，感谢您对HOBBY STOCKS的支持，请理性参与购买，祝您玩卡愉快，得到好卡!";
	public static final String CODE_TYPE_INCR = "CODE_TYPE_INCR_";
	public static final String USER_CODE_TYPE_INCR = "USER_CODE_TYPE_INCR";
	public static final String PRICE_FOR_NEW = "price_for_new";
	public static String PUSH_TYPE_JPUSH = "jpush";
	public static String PUSH_TYPE_SYSTEM = "system";
	public static String PUSH_ACCEPT_TYPE_ALL = "all";
	public static String PUSH_ACCEPT_TYPE_SETS = "sets";
	public static String PUSH_ACCEPT_TYPE_GROUP = "group";
	public static String PUSH_ACCEPT_TYPE_USER = "user";
	public static String APP_VERSION_PROD = "prod";
	public static String APP_VERSION_DEV = "dev";
	/**
	 * 买队玩法
	 */
	public static String INFO_TYPE_BUY_TEAM = "买队玩法";
	/**
	 * 选队随机
	 */
	public static String INFO_TYPE_SELECT_TEAM = "选队随机";
	/**
	 * 支持 转 剩余随机的玩法
	 * ||买队，选队随机
	 */
	public static List<String> CAN_CHANGE_RATE = Arrays.asList(INFO_TYPE_BUY_TEAM, INFO_TYPE_SELECT_TEAM);
	/**
	 * 自选卡种
	 */
	public static String INFO_TYPE_SELECT_SETS = "自选卡种";
	/**
	 * 随机球队
	 */
	public static String INFO_TYPE_TEAM = "随机球队";
	/**
	 * 随机球员
	 */
	public static String INFO_TYPE_PLAYER = "随机球员";
	/**
	 * 随机卡种(区分编号)
	 */
	public static String INFO_TYPE_SETS = "随机卡种(区分编号)";
	/**
	 * 随机卡种(不区分编号)
	 */
	public static String INFO_TYPE_SETS_NUM = "随机卡种(不区分编号)";
	/**
	 * 选队随机 子分类:区域随机
	 */
	public static String INFO_SUB_TYPE_AREA_RANDOM = "区域随机";
	public static String CACHE_GOODS_SETS = "APP_CACHE_GOODS_SETS_";
	public static String CACHE_GOODS_TEAM = "APP_CACHE_GOODS_TEAM_";
	public static String GROUP_INFO_MIX_MAX_PRICE = "GROUP_INFO_MIX_MAX_PRICE";
	public static String GROUP_INFO_CLICK_COUNT = "GROUP_INFO_CLICK_COUNT";
	public static String MERCHANT_APP_USER_LINK = "MERCHANT_APP_USER_LINK";
	public static String INFO_SORT_RATE_TYPE = "info_sort_rate_type";
	public static String SORT_RATE_TYPE_CLICK = "sort_rate_type_click";
	public static String SORT_RATE_TYPE_SOLD_AMOUNT = "sort_rate_type_sold_amount";
	public static String SORT_AMOUNT_RATE = "sort_amount_rate";
	public static String SORT_AMOUNT_RATE_NEW = "sort_amount_rate_new";
	public static String CARD_INFO_MARK_USER = "CARD_INFO_MARK_USER";
	public static String CODE_USER_LINK = "CODE_USER_LINK";
	public static String REFUND_TYPE = "REFUND_TYPE";
	public static String REFUND_TYPE_CODE = "code";
	public static String ORDER_MARK_USER_POINT = "ORDER_MARK_USER_POINT";
	public static final String ORDER_MARK_INFO_MSG = "亲爱的卡迷用户，为了更好的营造平台用户购物体验，您购买的本组订单未支付（含订单支付超时）次数即将达到单日上限，若未及时支付，您将于24小时内无法购买本组商品。感谢您的配合，祝您玩卡愉快，获得心仪卡片!";
	public static final String ORDER_MARK_INFO_MSG_END = "亲爱的卡迷用户，为了更好的营造平台用户购物体验，您购买的本组订单未支付（含订单支付超时）次数已达到单日上限，您将于24小时内无法购买本组商品。感谢您的配合，祝您玩卡愉快，获得心仪卡片!";
	public static final String ORDER_MARK_APP_MSG = "亲爱的卡迷用户，为了更好的营造平台用户购物体验，您当日订单未支付（含订单支付超时）次数即将达到单日上限，若未及时支付，您将于24小时内无法购买本平台商品。感谢您的配合，祝您玩卡愉快，获得心仪卡片!";
	public static final String ORDER_MARK_APP_MSG_END = "亲爱的卡迷用户，为了更好的营造平台用户购物体验，您当日订单未支付（含订单支付超时）次数已达到单日上限，您将于24小时内无法购买本平台商品。感谢您的配合，祝您玩卡愉快，获得心仪卡片!";
	public static final String PHONE_CHECK = "PHONE_CHECK";
	public static final String LIMIT_RULE = "LIMIT_RULE";
	public static final String comma = ",";
	public static final String dot = ".";
	public static final String pound_key = "#";
	public static final String comma2 = ",,";
	public static final String comma3 = ",,,";
	public static final String bank = " ";
	public static final String sub = "-";
	public static final String seq_ZN = "编";
	public static final String NO = "No.";
	public static final String WORK_WX_LIVE_OPEN = "work_wx_live_open";
	public static final String XML_BACK_SUCCESS = " xmlBack = \"<xml><return_code><![CDATA[SUCCESS]]></return_code><return_msg><![CDATA[OK]]></return_msg></xml>\";";
	public static String GROUP_PLAYBACKPATH = "GROUP_PLAYBACKPATH_";
	public static String ORDER_CANCEL_PREFIX = "ORDERCANCELPREFIX_";
	public static String ORDER_CANCEL_LOCK = "ORDER_CANCEL_LOCK_";
	public static final String All = "all";
	public static final String TRUE_STR = "T";
	public static final String LIVE_TYPE_APPLET = "applet";
	public static final String LIVE_TYPE_WORK_WX = "work_wx";
	public static final String LIVE_TYPE_RONG_CLOUD = "rongcloud";
	//腾讯直播
	public static final String LIVE_TYPE_TENCENT_CLOUD = "tencent_cloud";
	//火山直播
	public static final String LIVE_TYPE_VOLC = "volc";
	public static String EDIT_TYPE_PAY_PSD = "pay_psd";
	public static String EDIT_TYPE_LOGIN_PSD = "login_psd";
	public static String MSG_PAGE = "MSG_PAGE";
	public static String HOT_TYPE = "HOT_TYPE";
	public static String USER_PSD_COUNT = "USER_PSD_COUNT";
	public static String USER_PAY_REMIND = "USER_PAY_REMIND";
	public static final String UPDATE_GROUP_QUERY = "UPDATE_GROUP_QUERY_";
	/**
	 * 优惠劵类型:组团
	 */
	public static final String COUPON_TYPE_CARD = "card";
	/**
	 * 优惠劵类型:商品
	 */
	public static final String COUPON_TYPE_GOODS = "goods";
	/**
	 * 活动商品类型:虚拟商品,和sku无关了
	 */
	public static final String SKU_TYPE_VIRTUAL_GOODS = "virtual_goods";
	/**
	 * 订单类型:组团
	 */
	public static final String ORDER_TYPE_GROUP = "group";
	/**
	 * 订单类型:商城
	 */
	public static final String ORDER_TYPE_SHOP = "shop";
	/**
	 * 商品类型:积分
	 */
	public static final String SKU_TYPE_POINT = "point";
	/**
	 * 商城商品
	 */
	public static final String SKU_TYPE_GOODS = COUPON_TYPE_GOODS;
	/**
	 * 商品类型:纯金额
	 */
	public static final String SKU_TYPE_AMOUNT = "amount";
	/**
	 * 商品类型:混合
	 */
	public static final String SKU_TYPE_MIX = "mix";
	/**
	 * 商品活动类型:优惠劵
	 */
	public static final String SKU_ACT_TYPE_COUPON = "coupon";
	/**
	 * 人脸识别不提醒白名单
	 */
	public static String WHITELIST_FAVE_VERIFY_USER = "WHITELIST_FAVE_VERIFY_USER";
	/**
	 * spu库存锁key
	 */
	public static String SPU_SOLD_STOCK_LOCK = "SPU_SOLD_STOCK_LOCK";
	public static String MALL_ORDER_DETAIL_URL = "/pageC/shoppingUser/myOrderDetials?id=";

	public static final List<Integer> refundOrderStatus = Arrays.asList(101, 102, 103, 104, 105, 106, 301, 302);
	/**
	 * 商户积分
	 */
	public static final String POINT_TYPE_MERCHANT = "merchant";
	public static final String POINT_NAME_MERCHANT = "商家活动积分";
	/**
	 * 商家活动前缀
	 */
	public static final String POINT_TYPE_MERCHANT_ACT_PRE = "mer_act";
	/**
	 * 平台活动前缀
	 */
	public static final String POINT_TYPE_HB_ACT_PRE = "hb_act";
	public static final String POINT_NAME_HB_ACT = "HS活动积分";
	/**
	 * 平台活动前缀,需要订单完结
	 */
	public static final String POINT_TYPE_HB_ACT_OVER_PRE = "hb_act_over";
	/**
	 * 平台积分
	 */
	public static final String POINT_TYPE_COMMON = "common";
	public static final String POINT_NAME_COMMON = "平台积分";
	/**
	 * 商城购物积分
	 */
	public static final String POINT_TYPE_GOODS = "goods";
	public static final String POINT_NAME_GOODS = "商城积分";
	/**
	 * 积分消耗
	 */
	public static final String POINT_TYPE_COMMON_SUB = "common_sub";
	/**
	 * 积分活动
	 */
	public static final String POINT_TYPE_COMMON_ACT = "common_act";
	public static final String POINT_TYPE_COMMON_ACT_SUB = "common_act_sub";
	/**
	 * 积分返回
	 */
	public static final String POINT_TYPE_COMMON_RETURN = "common_return";
	/**
	 * 活动积分-SP
	 */
	public static final String POINT_TYPE_ACT_SP = "SP";
	public static final String POINT_NAME_ACT_SP = "SP积分";
	/**
	 * 商城,仅添加记录
	 */
	public static final String POINT_TYPE_ADD_RECORD = "record";
	public static final String POINT_TYPE_ADD_RECORD_NEW = "common_record";
	/**
	 * 竞价积分-通用积分
	 */
	public static final String AUCTION_ORDER_COMMON_POINT = "auction_common_point";
	public static final String AUCTION_ORDER_COMMON_AMOUNT = "auction_common_amount";
	/**
	 * 鸿运系列积分-lucky_point
	 */
	public static final String POINT_TYPE_ACT_LUCKY = "lucky_point";
	/**
	 * 用户成长值
	 */
	public static final String POINT_TYPE_USER_GROWTH = "user_growth";
	public static final String POINT_NAME_USER_GROWTH = "会员成长值";
	/**
	 * 精美卡片积分类型前缀,后面拼上card_id
	 */
	public static final String POINT_TYPE_GIFT_CARD_PRE = "gift_card_";
	public static final String POINT_NAME_GIFT_CARD = "精美卡片";
	public static final String INFO_TEAM_PRICE = "info_team_price";
	public static final String OTHER_STR = "OTHER";
	public static final String TEAM_SIMPLE_NAME = "team_simple_name";
	public static final String TEAM_SIMPLE_NAME_NEW = "team_simple_name_new";
	public static final String INFO_SELECT_TEAM_CACHE = "INFO_SELECT_TEAM_CACHE";
	public static final String INFO_ONLY_TEAM_CACHE = "INFO_ONLY_TEAM_CACHE_";
	public static final String POINT_CHANGE_RMB = "point_rmb_rate";
	//verify_user_act  实名用户活动
	public static final String POINT_TYPE_VERIFY_USER_ACT = "verify_user_act";
	//complete_order_act 消费达标活动
	public static final String POINT_TYPE_COMPLETE_ORDER_ACT = "complete_order_act";
	//act_task_labubu labubu抽奖活动
	public static final String POINT_TYPE_ACT_LABUBU = "act_task_";

	/**
	 * 用户支付类型配置
	 */
	public static final String USER_PAY_TYPE_CONFIG = "user_pay_type_config";
	/**
	 * 订单随机支付类型配置
	 */
	public static final String PAY_TYPE_RANDOM_CONFIG = "pay_type_random_config";
	/**
	 * 每日支付金额统计
	 */
	public static final String PAY_AMOUNT_DAY_KEY = "pay_amount_day_";
	/**
	 * 每日支付次数统计
	 */
	public static final String PAY_COUNT_DAY_KEY = "pay_count_day_";
	public static final String PAY_FAIL_COUNT = "pay_fail_count";
	public static final String ENFORCE_FAVE_VERIFY_USER = "enforce_fave_verify_user_fail";
	public static final String ENFORCE_FACE_VERIFY_REMIND = "enforce_face_verify_remind";
	public static final BigDecimal RMB_ONE_CENT = new BigDecimal("0.01");
	/**
	 * 选队转随机
	 */
	public static final String INFO_TYPE_TEAM_TO_RANDOM = "team_to_random";
	public static final String INFO_REAL_SOLD_COUNT = "info_real_sold_count_";
	public static final String ALIPAY_MAIN_BF = "alipay-main-bf";
	public static final String WXPAY_MAIN_BF = "wxpay-main-bf";

	public static final String INFO_TEAM_TO_RANDOM_CACHE = "info_team_to_random_cache_";
	public static final String CHINA = "china";
	public static final String IP_CACHE = "app_ip_address_cache";
	public static final String TEAM_CHANGE_RATE = "team_change_rate";
	public static final String BUY_TEAM_CHANGE_RATE = "buy_team_change_rate";
	public static final String DEFAULT_PAY_TYPE = "alipay";
	public static final String ADD = "add";
	public static final String SUB = "sub";
	public static final String EVALUATION_LEVEL_MIDDLE = "middle";
	public static final String EVALUATION_LEVEL_BAD = "bad";
	public static final String EVALUATION_LEVEL_GOOD = "good";
	public static final String GUESS_GOODS_CACHE = "guess_goods_cache_";
	public static final String URL_LIMIT_COUNT = "url_limit_count";
	//关注
	public static final String FANS_TYPE_USER_LIKE = "user_like";
	//用户拉黑
	public static final String FANS_TYPE_USER_DISLIKE = "user_dislike";
	//商家拉黑
	public static final String FANS_TYPE_MERCHANT_DISLIKE = "merchant_dislike";
	/**
	 * 拉黑缓存key
	 */
	public static final String MERCHANT_DISLIKE_USER = "merchant_dislike_user";
	public static final String USER_DISLIKE_MERCHANT = "user_dislike_merchant";
	/**
	 * 卡种字典表记录id
	 */
	public static final String INFO_SETS_RECORD_ID = "info_sets_record_id";
	/**
	 * 用户下单分布式key,同一时间仅能提交一种订单
	 */
	public static final String GROUP_ORDER_LOCK = "group_order_lock_";
	/**
	 * AES秘钥
	 */
	public static final String AES_TOKEN_PASSWORD = "C19CF02FC6A2040FC9A16BA5161F2D17";
	public static final String AES_USER_PASSWORD = "E1C7AE96EFE6CD2CD84861C029C2E80D";
	/**
	 * 抢购token
	 */
	public static final String AES_TOKEN_CACHE = "AES_TOKEN_CACHE";
	public static final String ACT_USER_TOKEN_CACHE = "ACT_USER_TOKEN_CACHE";
	/**
	 * 卡单用户限制
	 */
	public static final String ORDER_LIMIT_USER = "order_limit_user";
	/**
	 * 免验证手机号
	 */
	public static final List<String> NO_CHECK_PHONE = Arrays.asList("17317287633", "13071005103", "15618709098", "15679535223");
	/**
	 * 订单子类型,赠送订单接收
	 */
	public static final String ORDER_SUB_TYPE_RECEIVE = "receive";
	/**
	 * 订单子类型,奖品订单
	 */
	public static final String ORDER_SUB_TYPE_PRIZE = "prize_ship";
	/**
	 * 订单子类型,赠送订单:赠送
	 */
	public static final String ORDER_SUB_TYPE_GIVE_AWAY = "give_away";
	public static final String SKU_COUPON_ID_CACHE = "sku_coupon_id_cache";
	/**
	 * 秒级别-半小时
	 */
	public static final int HALF_AN_HOUR = 1800;
	/**
	 * 秒级别-1小时
	 */
	public static final int ONE_HOUR = 3600;
	/**
	 * 优惠劵使用域
	 */
	public static final String COUPON_SCOPE_CONFIG = "coupon_scope_config";
	public static final String COUPON_SCOPE_CONFIG_CACHE = "coupon_scope_config_cache";
	/**
	 * 支付类型
	 */
	public static final String PAYMENT_TYPE = "payment_type";

	public static final String DAY = "day";
	public static final String HOUR = "hour";

	public static final String ACT_PRIZE_CACHE = "act_prize";
	public static final String ACT_PRIZE_INFO_CACHE = "act_prize_info";
	public static final String ACT_PRIZE_POOL_CACHE = "act_prize_pool";
	public static final String ACT_TASK_SHARE_CACHE = "act_task_share_cache:";
	public static final String DEFAULT_STR = "default";
	/**
	 * 发票类型,个人
	 */
	public static final String INVOICE_TYPE_PERSON = "person";
	/**
	 * 发票类型,企业
	 */
	public static final String INVOICE_TYPE_COMPANY = "company";
	public static final BigDecimal HUNDRED = new BigDecimal("100");

	public static final BigDecimal ONE_THOUSAND = new BigDecimal("1000");
	/**
	 * sku库存key
	 */
	public static final String SKU_STOCK_PRE = "sku_stock_";
	public static final String NUM_REG = "^[0-9]+$";
	/**
	 * 开屏广告活动key
	 */
	public static final String APP_ACT_CACHE = "app_act_cache";
	/**
	 * 活动参与类型:积分
	 */
	public static final String ACT_SUB_TYPE_POINT = "point";
	/**
	 * 活动参与类型:次数
	 */
	public static final String ACT_SUB_TYPE_TIMES = "times";

	public static final String COUPON_ACT_MERCHANT = "coupon_act_merchant";
	/**
	 * 卡密活动类型:商品
	 */
	public static final String GOODS_ACT_TYPE_GOODS = COUPON_TYPE_GOODS;
	/**
	 * 卡密活动类型:优惠劵
	 */
	public static final String GOODS_ACT_TYPE_COUPON = "coupon";
	/**卡密活动类型:大转盘*/
	/**
	 * 卡密活动类型:大转盘
	 */
	public static final String GOODS_ACT_TYPE_TURNTABLE = "turntable";

	public static final String CACHE_CALENDAR_LIST_SEARCH = "cache_calendar_list_search";
	public static final String EVALUATION_TYPE_LIST_CALENDAR = "checklist_calendar";
	/**
	 * 完结组团状态
	 */
	public static final List<Integer> GROUP_FULL_STATUS = Arrays.asList(203, 204, 205, 2051, 206, 301);

	/**
	 * 随买随机分配卡密
	 */
	public static final String GROUP_RANDOM_ALL = "random_all";
	/**
	 * 选队随机
	 */
	public static final String GROUP_RANDOM_SELECT_TEAM = "random_select_team";
	/**
	 * 选队,区域随机
	 */
	public static final String GROUP_RANDOM_SELECT_CONFERENCE = "random_select_conference";
	/**
	 * 选队/区域转随机
	 */
	public static final String GROUP_RANDOM_SELECT_TO_RANDOM = "select_to_random";
	/**
	 * 买队,无随机
	 */
	public static final String GROUP_RANDOM_BUY_TEAM = "random_buy_team";
	/**
	 * 组满随机,暂不存在
	 */
	public static final String GROUP_RANDOM_FULL_ALL = "random_full_all";
	/**
	 * 买队转随机,暂不存在
	 */
	public static final String GROUP_RANDOM_BUY_TEAM_ALL = "random_buy_team_all";

	public static final String RESTRICT_USER = "restrict_user"; // 黑名单用户字典type
	public static final String RESTRICT_USER_CACHE = "restrict_user_cache"; // 黑名单用户信息key
	public static final String RESTRICT_USER_ADDRESS = "restrict_user_address"; // 黑名单用户地址key
	/**
	 * 卡密来源-组队卡密
	 */
	public static final String GOODS_REF_TYPE_GROUP = "group";
	public static final String CODE_TYPE_PRIZE = "prize";
	/**
	 * 公布抽奖结果回调url
	 */
	public static final String CODE_PUBLIC_CALL_BACK_URL = "http://poyee-app/api/local/public";
	//不属于金额支付的支付类型
	public static final List<String> payment_type = Arrays.asList("point", "积分抽奖", "活动赠送");

	public static final String ES_CACHE_CARD_GROUP_INFO = "es_cache_card_group_info";

	public static final String INDEX_NAME = "app_es_group";
	//顺丰快递
	public static final String SF_TOKEN = "sf_token";
	public static final String CONTENT_TYPE_FORM = "application/x-www-form-urlencoded";
	public static final String CONTENT_TYPE_JSON = "application/json";
	public static final String express_level_type = "express_level";

	public static final String stop_courier_mer = "stop_courier_mer";
	/**
	 * 一天的秒
	 */
	public static final Long dayForSecond = 86400L;
	/**
	 * 一周的毫秒
	 */
	public static final Long WEEK_OF_TIMESTAMP = 86400L * 7000;
	/**
	 * 仓管费
	 */
	public static final Integer warehouseFee = 0;
	/**
	 * 预售开卡订单key
	 */
	public static final String ALLOCATE_USER_GOODS_ORDER = "allocate_user_goods_order_";
	/**
	 * 会员初始化
	 */
	public static final String MEMBER_INIT_KEY = "app_user_member_init";

	public static final String PAY_BOFOO = "bof";
	public static final String PAY_ADAPAY = "adapay";

	/**
	 * 组队组齐后发放
	 */
	public static final String MERCHANT_ACT_GROUP_FULL = "merchant_act_group_full";
	/**
	 * 公示卡密后发放
	 */
	public static final String MERCHANT_ACT_PUBLIC_GOODS = "merchant_act_public_goods";
	/**
	 * 订单购买后分配
	 */
	public static final String MERCHANT_ACT_AFT_ORDER = "merchant_act_aft_order";
	/**
	 * 随机:订单购买后分配
	 */
	public static final String MERCHANT_ACT_RANDOM_AFT_ORDER = "merchant_act_random_aft_order";
	/**
	 * 随机:订单购买后分配
	 */
	public static final String MERCHANT_ACT_RANDOM_GROUP_FULL = "merchant_act_random_group_full";

	public static final String payment_type_agreement = "agreement";

	public static final String payment_type_bank = "bank";
	public static final String payment_type_uac = "uac";
	public static final String payment_type_alipay = "alipay";
	/**
	 * 正常订单
	 */
	public static final String order_type_normal = "normal";
	/**
	 * 需要退款订单
	 */
	public static final String order_type_refund = "refund";

	public static final String lucky_point_2023_618 = "lucky_point_2023_618";
	/**
	 * 鸿运系列积分 618 -lucky_point
	 */
	public static final String POINT_TYPE_ACT_LUCKY_618 = "lucky_point_2023_618";
	/**
	 * hotType时间缓存
	 */
	public static final String APP_HOT_TYPE_TIMES_CACHE = "app_hot_type_times_cache";
	/**
	 * 昵称黑名单
	 */
	public static final String APP_NAME_BACK_LIST_CACHE = "app_name_back_list_cache";
	/**
	 * 用户标签:高频
	 */
	public static final String APP_USER_CAT_HIGH_FREQUENCY = "high_frequency";
	public static final String APP_USER_CAT_TYPE_USER_PAY = "user_pay";

	public static final String PHONE_TYPE_IOS = "IOS";

	public static final String LIST_ACT_TYPE_SET = "list_act_all_set";
	public static final String LIST_ACT_ALL_TEAM = "list_act_all_team";
	public static final String LIST_ACT_ALL_PLAYER = "list_act_all_player";
	public static final String LIST_ACT_SELECT_PLAYER = "list_act_select_player";
	public static final String LIST_ACT_SELECT_TEAM = "list_act_select_team";
	public static final String LIST_ACT_SELECT_SET = "list_act_select_set";
	public static final String LIST_ACT_SELECT_NUM = "list_act_select_num";
	/**
	 * 球员球队list的key
	 */
	public static final String LIST_ACT_OF_PLAYER_TEAM = "list_act_of_set_player_team";
	/**
	 * 卡密收集活动类型
	 */
	public static final List<String> listActTypes = Arrays.asList("list_act_all_set", "list_act_all_team", "list_act_all_player",
			"list_act_select_player", "list_act_select_team", "list_act_select_set", "list_act_select_num");

	public static final String MEMBER_BENEFITS = "member_benefits";

	public static final String BRAND_MEMBER_BENEFITS = "brand_member_benefits";
	/**
	 * 支付限流
	 */
	public static final String PAYMENT_TYPE_LIMIT_KEY = "payment_type_limit_key_";

	public static final String USER_PAY_REMIND_DAY = "app_user_pay_remind_day";

	public static final String USER_PAY_REMIND_MONTH = "app_user_pay_remind_month";
	/**
	 * 买退
	 */
	public static final String ALLOW_REFUND_SALE = "买退";
	// 偏远地区
	public static final String REMOTE_SHIPPING_FEE = "remote_shipping_fee";
	/**
	 * 消息类型
	 */
	public static final String APP_NOTIFY_TYPE_CONFIG = "app_notify_type_config";
	/**
	 * 消息显示大类型
	 */
	public static final String APP_NOTIFY_SHOW_CONFIG = "app_notify_show_config";
	/**
	 * 消息初始化类型
	 */
	public static final String APP_NOTIFY_INIT_CONFIG = "app_notify_init_config";

	public static final String APP_CACHE_USER_NOTIFY_CONFIG = "app_cache_user_notify_config_";
	/**
	 * 物流订单号对应支付单号
	 */
	public static final String SHIPPING_TRADE_NO_TO_ORDER = "shipping_trade_no_to_order";

	public static final String LIVE_EFFECTS = "live_effects";
	/**
	 * 支付编号对应订单
	 */
	public static final String PAY_TRADE_NO_TO_ORDER = "pay_trade_no_to_order";
	/**
	 * 组队卡密活动:选中卡密
	 */
	public static final String GROUP_ACT_TYPE_SELECT = "select";
	/**
	 * 组队卡密活动:随机卡密
	 */
	public static final String GROUP_ACT_TYPE_RANDOM = "random";
	/**
	 * 消费达标活动
	 */
	public static final String ACT_TYPE_CONSUME_LEVEL = "consume_level";
	/**
	 * 抽卡机活动
	 */
	public static final String ACT_TYPE_DRAW_CARD_GAME = "draw_card_game";
	public static final String ACT_NAME_DRAW_CARD_GAME = "抽卡机活动币";
	/**
	 * 抽卡活动类型
	 */
	public static final String USER_DRAW_CARD_ACT = "user_draw_card_act";

	public static final String ACT_BASE_SHIPPING_COST_KEY = "act_base_shipping_cost";

	public static final BigDecimal ACT_BASE_SHIPPING_COST = new BigDecimal("9.9");


	public static final String ACT_GOODS_TYPE_SET = "set";
	public static final String ACT_GOODS_TYPE_TEAM = "team";
	public static final String ACT_GOODS_TYPE_PLAYER = "player";
	public static final String PART_COUPON = "part_coupon";
	public static final String COLLECT_PANINI_ACT = "collect_panini_act";
	//精美卡片key
	public static final String GROUP_GIFT_CARD = "group_gift_card";
	//精美卡片订单
	public static final String ORDER_TYPE_GIFT_CARD = "gift_card";

	public static final String ORDER_TYPE_DRAW = "draw";
	;
	//评级保证金
	public static final String GRADE_EARNEST_AMOUNT = "grade_earnest_amount";

	public static final String GRADE_INSURE_AMOUNT = "grade_insure_amount";

	/**
	 * 物流订单号对应支付单号
	 */
	public static final String GRADE_TRADE_NO_TO_ORDER = "grade_trade_no_to_order";
	/**
	 * 支付编号对应支付记录
	 */
	public static final String TRADE_NO_TO_PAY_RECORD = "trade_no_to_pay_record";
	public static final String ANONYMOUS_NAME = "匿名用户";
	public static final String ANONYMOUS_AVATAR = "https://static.public.hobbystock.cn/MC143302022060920611/avatar/1666182630730.jpg";

	public static final String MERCHANT_POINT_SHOW = "merchant_point_show";
	public static final String USER_SUB_POINT_LOCK = "user_sub_point_lock";
	/**
	 * 拼团赠送红包大转盘key
	 */
	public static final String INFO_GIVE_DRAW = "info_give_draw";
	/**
	 * 拼团618砍一刀
	 */
	public static final String ACT_GROUP_DECR_AMOUNT = "group_decr_amount";
	public static String GROUP_USER_SHARE_24_618 = "group_user_share_24_618";
	public static String ACT_CARD_REMOVAL = "act_card_removal";
	public static String SEND_LIKE_ACT_PRIZE_ORDERS = "send_like_act_prize_orders";
	public static String ACT_LIMIT_NUM_618 = "act_limit_num_618";
	public static String email_notice_hzt = "hzt1212520@126.com";
	/**
	 * 私域显示
	 */
	public static String PRIVATE_SHOW_TYPE = "private_show_type";
	/**
	 * 商家赠礼活动
	 */
	public static final String MERCHANT_ACT_GIFT = "merchant_act_send_gift";

	public static final String TYPE_SHOP_POINT = "shop_order_point";
	/**
	 * 即将售罄查询每个商家个数-key
	 */
	public static final String ALMOST_FINISHED_NUM = "almost_finished_num";
	/**
	 * 好卡点赞
	 */
	public static final String FOLLOW_TOP_CARD_LIKE = "top_card_like";
	/**
	 * 首页红包列表
	 */
	public static final String FIRST_PAGE_DRAW_ACT = "first_page_draw_act";
	//用户高频支付限制数量key
	public static final String USER_PAY_LIMIT = "user_pay_limit";
	/**
	 * 用户消费限额提示key
	 */
	public static final String USER_LIMIT_PAY_NOTICE_KEY = "user_limit_pay_notice_%s_%s";
	/**
	 * 用户消费限额配置
	 */
	public static final String USER_LIMIT_PAY_CONFIG = "user_limit_pay_config";
	/**
	 * 用户提额问卷
	 */
	public static final String TYPE_USER_INCR_AMOUNT = "user_incr_amount";
	/**
	 * 用户月度提醒
	 */
	public static final String REFUSE_CARD_NOTICE = "refuse_card_notice:";
	/**
	 * 商家集团活动积分前缀
	 */
	public static final String POINT_TYPE_MERCHANT_GROUP_ACT_PRE = "mer_group_act";
	/**
	 * 商品购买资格
	 */
	public static final String PRIZE_REDUCTION_BUY_NUM = "reduction_buy_num";
	public static final String USER_BUY_GROUP_INFO_KEY = "user_buy_group_info_%s_%s";
	public static final String USER_CONTAINS_CAT_KEY_PRE = "user_cat_key_%s_%s_%s";
	public static final String APP_CAT_SEARCH_ORDER = "user_search_order";
	/**
	 * 拼团活动积分倍率
	 */
	public static final String GROUP_ACT_RATE_PRE = "group_act_rate_";
	/**
	 * 拼团消费达标积分活动
	 */
	public static final String CONSUME_GROUP_ACT_POINT = "consume_group_act_point";
	/**
	 * 拼团组齐次数达标
	 */
	public static final String CONSUME_GROUP_FULL_COUNT = "consume_group_full_count";
	/**
	 * 新版退款模式,异步mq消费
	 */
	public static final String ASYNC_REFUND_TYPE = "amount_async";
	/**
	 * 退款模式2,仅退款,不更新订单状态
	 */
	public static final String REFUND_TYPE_AMOUNT_ONLY = "amount_only";
	public static final String REFUND_SUB_TYPE_AMOUNT = "amount";
	public static final String REFUND_SUB_TYPE_POINT = "point";
	public static final String ACT_GOODS_COMMON_SORT = "act_goods_common_sort";


	public static final String LUCK_BAG_ONLINE_REDIS_KEY = "luck_bag_online_redis_key_";
	public static final String LUCK_BAG_JOIN_REDIS_KEY = "luck_bag_join_redis_key_";
	public static final String GROUP_FULL_COUNT = "group_full_count";
	public static final String GROUP_ACT_RATE = "group_act_rate";

	/**
	 * 生态购商家id
	 */
	public static final List<Long> GROUP_SALE_MERCHANT_IDS = Arrays.asList(31L, 1430L);
	//拼团详情关注类型
	public static final String GROUP_DETAIL_FOLLOW = "group_detail_follow";
	//app商家指定权限
	public static final String APP_MER_PERMISSIONS = "app_mer_permissions";
	//直播间用户key
	public static final String LIVING_ROOM_USER_KEY="living_room_user_key:";
	//商家名下用户订单数量
	public static final String MERCHANT_USER_ORDER_NUM="merchant_user_order_num:";
	//用户变动
	public static final String LIVING_USER_CHANGE_RECORD="living_user_change_record:";
	/**拼团退款申请*/
	public static final String REFUND_TYPE_GROUP = "group_refund";
	/**拼团下架退款申请*/
	public static final String REFUND_SUB_TYPE_OFF = "refund_off";
	//订单退款状态
	public static final List<Integer> REFUND_STATUS_LIST=Arrays.asList(204,205,206);
	//直播间点赞key
	public static final String LIVING_ROOM_LIKE_KEY="living_room_like_key:";
	//直播间点赞人和点赞数key
	public static final String LIVING_ROOM_LIKE_USER_KEY="living_room_like_user_key:";
	//直播间点赞通知延时key
	public static final String LIVING_ROOM_LIKE_DELAY_KEY="living_room_like_delay_key:";
	//直播间点赞DB延时队列
	public static final String LIVING_ROOM_LIKE_DB_DELAY_KEY="living_room_like_db_delay_key:";
	/** 品牌会员积分前缀 **/
	public static final String BRAND_POINT_TYPE_PRE = "diy_brand_point_";
	/** 品牌会员成长值前缀 **/
	public static final String BRAND_GROWTH_TYPE_PRE = "diy_brand_growth_";
	/** 品牌会员初始化key **/
	public static final String BRAND_MEMBER_INIT_KEY = "brand_member_init";
	//精美卡片订单运费记录key
	public static final String COST_ORDER_RECORD = "cost_order_record";
	/** 商城首单券 **/
	public static final String FIRST_ORDER_MERCHANT = "first_order_merchant";

	public static final String APP_SEARCH_CACHE_KEY = "search_api_cache:app_search_cache_key_";

	/** 签到 */
	public static final String APP_ACT_TASK_TYPE_SIGNIN = "signIn";
	/** 拼团支付 */
	public static final String APP_ACT_TASK_TYPE_GROUPPAYMENT = "groupPayment";
	/** 全平台支付 */
	public static final String APP_ACT_TASK_TYPE_PAYMENT = "payment";
	/** 商城商品支付 */
	public static final String APP_ACT_TASK_TYPE_GOODSPAYMENT = "goodsPayment";
	/** 拼团完成 */
	public static final String APP_ACT_TASK_TYPE_GROUPCOMPLETEPAYMENT = "groupCompletePayment";
	/** 支付完成 */
	public static final String APP_ACT_TASK_TYPE_PAYCOMPLETEPAYMENT = "payCompletePayment";
	/** 邀请 */
	public static final String APP_ACT_TASK_TYPE_INVTATION = "invitation";


	//商家邀请码配置的优惠券
	public static final String DICT_TYPE_INVITE_CODE = "merchant_invite_code";


	/**
	 * 商家发货锁单
	 */
	public static final String REDIS_KEY_MERCHANT_DELIVERY_LOCK = "merchant_delivery_lock:";


}
