package com.nuvole.constants;
|
|
/**
|
* @author ChenLong
|
* @version 1.0
|
* @ClassName SystemConstants
|
* @date 2019/4/24 17:07
|
* @Description 系统公用常量
|
*/
|
public class SystemConstants {
|
|
/**
|
* 综合后台用户默认密码
|
*/
|
public static final String USER_KEY = "Adu_8097";
|
|
/**
|
* 商户后台用户默认密码
|
*/
|
public static final String MERCHANT_USER_K = "Sel_8099";
|
|
/**
|
* 积分抵扣默认值(分)
|
*/
|
public static final Long INTEGRAL_DEDUCTION_VAL = 100L;
|
|
/**
|
* 积分抵扣价值key
|
*/
|
public static final String INTEGRAL_DEDUCATION = "deducation";
|
|
/********************************************** 登录标识 ************************************/
|
/**
|
* 统一后台pc角色api
|
*/
|
public static final String BASE_PC_ROLE_API_PREFIX = "basePcRoleApi:";
|
/**
|
* 统一后台pc角色 rest api
|
*/
|
public static final String BASE_PC_ROLE_RESTAPI_PREFIX = "basePcRoleRestApi:";
|
/**
|
* 商户pc角色api
|
*/
|
public static final String MERCHANT_PC_ROLE_API_PREFIX = "merchantPcRoleApi:";
|
/**
|
* 商户pc角色 rest api
|
*/
|
public static final String MERCHANT_PC_ROLE_RESTAPI_PREFIX = "merchantPcRoleRestApi:";
|
/**
|
* 统一后台pc登录标识
|
*/
|
public static final String BASE_PC_USER_PREFIX = "basePcUser:";
|
|
/**
|
* 商户pc登录标识
|
*/
|
public static final String MERCHANT_PC_USER_PREFIX = "merchantPcUser:";
|
public static final String SUPPLIER_PC_USER_PREFIX = "supplierPcUser:";
|
|
/**
|
* 商户app登录标识
|
*/
|
public static final String MERCHANT_APP_USER_PREFIX = "merchantAppUser:";
|
|
/**
|
* 商城微信登录标识(包含商户H5)
|
*/
|
public static final String SHOP_WECHAT_USER_PREFIX = "shopWechatUser:";
|
|
/**
|
* 客户经理app登录标识
|
*/
|
public static final String MANAGER_APP_USER_PREFIX = "managerAppUser:";
|
|
/**
|
* 扫码付授权登录标识
|
*/
|
public static final String SCAN_WECHAT_USER_PREFIX = "scanWechatUser:";
|
|
|
/********************************************** token header标识 ************************************/
|
|
/**
|
* 综合pc token header 标识
|
*/
|
public static final String BASE_PC_TOKEN_HEADER = "BASE-PC-TOKEN-HEADER";
|
|
/**
|
* 商户pc token header 标识
|
*/
|
public static final String MERCHANT_PC_TOKEN_HEADER = "MERCHANT-PC-TOKEN-HEADER";
|
|
/**
|
* 供货商
|
*/
|
public static final String SUPPLIER_PC_TOKEN_HEADER = "SUPPLIER-PC-TOKEN-HEADER";
|
|
/**
|
* 商户app token header 标识
|
*/
|
public static final String MERCHANT_APP_TOKEN_HEADER = "MERCHANT-APP-TOKEN-HEADER";
|
|
/**
|
* 商城微信 token header 标识(包含商户H5)
|
*/
|
public static final String SHOP_WECHAT_TOKEN_HEADER = "SHOP-WECHAT-TOKEN-HEADER";
|
|
/**
|
* 客户经理app token header 标识
|
*/
|
public static final String MANAGER_APP_TOKEN_HEADER = "MANAGER-APP-TOKEN-HEADER";
|
|
/**
|
* 商户扫码付微信 token header 标识(包含商户H5)
|
*/
|
public static final String SCAN_WECHAT_TOKEN_HEADER = "SCAN-WECHAT-TOKEN-HEADER";
|
|
|
/********************************************** 导出标识 ************************************/
|
|
/*
|
* @Author : liu.q [916000612@qq.com]
|
* @Date : 2019-07-18 15:11
|
* @Description : 导出加密签名-标识
|
*/
|
public static final String EXPORT_SIGN_K = "bc29ru982ur8923jr923hr9y2389";
|
/*
|
* @Author : liu.q [916000612@qq.com]
|
* @Date : 2019-07-18 15:11
|
* @Description : 导出数据缓存key 开头
|
*/
|
public static final String EXPORT_DATA_K = "exportDataK:";
|
|
/********************************************** 邮拼团标识 ************************************/
|
|
/**
|
* 团购支付超时时间key
|
*/
|
public static final String GROUP_PAY_TIMEOUT = "groupPayTimeout";
|
|
/**
|
* 团购成团超时时间key
|
*/
|
public static final String GROUP_COMPLETE_TIMEOUT = "groupCompleteTimeout";
|
|
/**
|
* 团购规格key
|
*/
|
public static final String GROUP_RULE = "groupRule";
|
|
/********************************************** 商城设置标识 ************************************/
|
|
/**
|
* 商品支付时间设置key
|
*/
|
public static final String PAY_TIMEOUT = "pay_timeout";
|
|
/**
|
* 收货时间设置key
|
*/
|
public static final String RECEIVING_TIMEOUT = "receiving_timeout";
|
/**
|
* 日志定时清理设置
|
*/
|
public static final String LOG_CLEAN_TIME = "logCleanTime";
|
/**
|
* 客户节规则设置key
|
*/
|
public static final String MEMBER_DAY_RULE = "member_day_rule";
|
|
/**
|
* 单次提现金额不低于
|
*/
|
public static final String DRAW_CASH_EACH_MIN_RULE = "draw_cash_each_min";
|
/**
|
* 每天提现金额不超过
|
*/
|
public static final String DRAW_CASH_DAY_MAX_RULE = "draw_cash_day_max";
|
/**
|
* 会员日活动规则
|
*/
|
public static final String MEMBER_FLASH_ACT_RULE = "member_flash_act_rule";
|
/**
|
* 会员日活动参与对象
|
*/
|
public static final String MEMBER_FLASH_ACT_JOIN_OBJ = "MEMBER_FLASH_ACT_JOIN_OBJ";
|
/**
|
* 星级权益活动规则
|
*/
|
public static final String STAR_POWER_ACT_RULE = "star_power_act_rule";
|
public static final String STAR_POWER_ACT_JOIN_OBJ = "star_power_act_join_obj";
|
|
/*
|
应用平台类型(三方平台绑定用户使用)
|
appType 1.支付宝-小程序, 2.支付宝-生活号, 3.微信-小程序, 4.微信-公众号
|
*/
|
/** 应用平台类型-支付宝-小程序 */
|
public static final String APP_TYPE_ALI_MINI = "1";
|
/** 应用平台类型-支付宝-生活号 */
|
public static final String APP_TYPE_ALI_SHH = "2";
|
/** 应用平台类型-微信-小程序 */
|
public static final String APP_TYPE_WECHAT_MINI = "3";
|
/** 应用平台类型-微信-公众号 */
|
public static final String APP_TYPE_WECHAT_GZH = "4";
|
|
}
|