package com.yeshi.fanli.util;
|
|
public enum RedisKeyEnum {
|
emptyKey("", "空值-key外部空值"),
|
SMS("sms-", "短信"),
|
SMSVCode("smscode-", "短信验证码"),
|
SMSStateAlipay("smsstate-alipay-", "支付宝短信验证码"),
|
SMSLoginCount("sendMSNLoginCount", "登录发送短信次数统计"),
|
SMSBindCount("sendMSNBindCount", "绑定手机号发送短信次数统计"),
|
SMSBindRemove("sendMSNRemoveCount", "注销手机号发送短信次数统计"),
|
wxmpUserLogin("wxmp-user-login-", "小程序登录"),
|
frequencyLimit("frequency-", "频率限制"),
|
inviteShortLink("invite-shortlink-", "短连接"),
|
|
taobaoGoods("taobao-goods-", "淘宝商品"),
|
taobaoGoodsCommon("taobao-goods-common-", "淘宝商品"),
|
taobaoGoodsTemp("taobao-goods-temp-", "淘宝商品缓存"),
|
taobaoImgs("taobao-img-", "淘宝图片"),
|
taobaoGoodsDetailimgs("taobao-goods-detailimgs-size-", "淘宝图片"),
|
taobaoShop("taobao-shop-", "淘宝店铺"),
|
taobaoTokenCommon("taobao-common-token-", "淘宝口令"),
|
taobaoTokenTLJ("taobao-tlj-token-", "淘礼金的口令"),
|
taobaoCoupleXCX("taobao-couple-xcx-", "淘宝券"),
|
taobaoUserTKToken("taobao-user-token-", "用户的淘口令"),
|
taobaoCachecoupon("cachecoupon-", "淘宝券商品列表"),
|
taobaolinkParse("linkParse-", "获取淘宝推广链接"),
|
taobaoUpdate("tb-u-", "淘宝商品更新"),
|
taobaoQueue("tb-u-q-", "淘宝商品队列"),
|
taobaoCode("taobao-code-", "淘宝code"),
|
taobaoTokenGoodsMap("tb-t-g_m-", "淘宝口令对应商品的映射关系保存"),
|
taobaoBaseLink("tb-b-l-", "淘客商品转链结果缓存"),
|
taobaoSearchResult("tb-s-r-", "淘宝搜索结果缓存"),
|
|
JDGoods("JD-goods-", "京东商品"),
|
JDShortUrl("jd-link-to-goods-", "京东短链"),
|
jingDongGoods("jingdong-goods-", "京东商品"),
|
PDDGoods("PDD-goods-", "拼多多商品"),
|
pinDuoDuoGoods("pinduoduo-goods-", "拼多多商品"),
|
|
bindAlipay("bindalipay-", "绑定支付宝"),
|
seacrhGoods("integral-seacrh-goods-", "商品搜索"),
|
couponByClass("getCouponListByClass-", "通过分类获取券信息"),
|
elmeLink("elme-link-", "饿了么链接"),
|
kouBeiLink("koubei-link-", "口碑链接"),
|
recommendGoodsUser("recommend-goods-user-", "用户推荐商品"),
|
|
S11YuShou("s11-yushou-", "双11预售"),
|
S11PresaleGoods("s11_presale_goods-", "双11淘宝预售商品"),
|
S11PresaleGoodsType("s11_presale_goods-type-", "双11淘宝预售商品类型"),
|
S11SuperHongBao("s11-superhongbao-", "双11超级红包"),
|
|
spikeGoodsHour("spikeGoods_hour-", "限时秒杀时间"),
|
spikeGoodsList("spikeGoodsList-", "限时秒杀商品列表"),
|
spikeGoodsHourNew("spikeGoods_hour_new-", "限时秒杀时间新版"),
|
spikeGoodsListNew("spikeGoodsList_new-", "限时秒杀商品新版"),
|
|
addOrder("addorder-", "添加订单"),
|
addOrderQueue("addorderqueue-", "添加订单队列"),
|
JDOrder("jd-order-", "京东订单"),
|
PDDOrder("pdd-order-", "拼多多订单"),
|
VIPShopOrder("vipshop-order-", "唯品会订单"),
|
SuningOrder("suning-order-", "苏宁订单"),
|
hongBaoFanLi("hongbao-fanli-", "红包返利"),
|
|
deviceSex("device_sex-", "设备性别版本"),
|
cloudAlipayLink("cloud_alipay_ink_", "云发单支付链接"),
|
cloudMatchGroup("cloud_match_group_", "云发单群匹配"),
|
|
convertLinkDocTemp("convert-link-doc-temp-", "转链文本暂存"),
|
convertLinkDocResultTemp("convert-link-doc-result-temp-", "转链文本结果暂存"),
|
userSystem("user-system-","用户系统归属"),
|
monitor("monitor-order-","订单监控");
|
|
private final String key;
|
private final String desc;
|
|
private RedisKeyEnum(String key, String desc) {
|
this.key = key;
|
this.desc = desc;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public String getKey() {
|
return key;
|
}
|
|
public static String getRedisKey(RedisKeyEnum keyEnum, String value) {
|
return keyEnum.getKey() + value;
|
}
|
}
|