|
@@ -581,6 +581,10 @@ public class RedisService {
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public Set<String> keys(String name) {
|
|
|
|
|
+ return redisTemplate.keys(name);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
|
@Getter
|
|
@Getter
|
|
|
public enum key {
|
|
public enum key {
|
|
@@ -602,13 +606,18 @@ public class RedisService {
|
|
|
CMS_USER_PERMISSION_KEY("cms:user:permission:%s:", "user权限缓存前缀", 60 * 60 * 24L * 7),
|
|
CMS_USER_PERMISSION_KEY("cms:user:permission:%s:", "user权限缓存前缀", 60 * 60 * 24L * 7),
|
|
|
REPEAT_USER_KEY("repeat_user_key:%s:", "重复用户插入key", 60l),
|
|
REPEAT_USER_KEY("repeat_user_key:%s:", "重复用户插入key", 60l),
|
|
|
BUSINESS_FIRST_ORDER_USER_KEY("business_first_order_user_key:%s:", "商务分销首单提成key", 60l),
|
|
BUSINESS_FIRST_ORDER_USER_KEY("business_first_order_user_key:%s:", "商务分销首单提成key", 60l),
|
|
|
- PC_WEB_CACHE("pc_web_cache", "官网首页平台缓存", 10 * 60),
|
|
|
|
|
|
|
+ PC_WEB_CACHE("pc_web_cache", "首页平台缓存", 10 * 60),
|
|
|
H5_WEB_CACHE("h5_web_cache", "h5首页平台缓存", 10 * 60),
|
|
H5_WEB_CACHE("h5_web_cache", "h5首页平台缓存", 10 * 60),
|
|
|
|
|
+ YH_HOME_PAGHE_CACHE("yh_home_paghe_cache:", "银河首页缓存", 10 * 60),
|
|
|
|
|
+ REGISTER_HOME_PAGE_CACHE("register_home_page_cache:", "注册首页缓存", 10 * 60),
|
|
|
CPS_BACK_LOGIN_KEY("cps_back_login:", "cps商务后台登录key", 3 * 60),
|
|
CPS_BACK_LOGIN_KEY("cps_back_login:", "cps商务后台登录key", 3 * 60),
|
|
|
CPS_AUTH_SUCCESS_KEY("cps_auth_success_key:%s", "cps后台微信授权", 60 * 10),
|
|
CPS_AUTH_SUCCESS_KEY("cps_auth_success_key:%s", "cps后台微信授权", 60 * 10),
|
|
|
QUESTION_RESPONSE_KEY("question_response_key:%s", "问卷回答key", 60 * 60 * 24L),
|
|
QUESTION_RESPONSE_KEY("question_response_key:%s", "问卷回答key", 60 * 60 * 24L),
|
|
|
IMPORT_ACCOUNT_CACHE_KEY("import_account_cache_key:%s", "导入缓存key", 60 * 10L),
|
|
IMPORT_ACCOUNT_CACHE_KEY("import_account_cache_key:%s", "导入缓存key", 60 * 10L),
|
|
|
MAKERTING_MSG_KEY("makerting_msg_key", "营销短信", 60 * 60 * 24 * 30),
|
|
MAKERTING_MSG_KEY("makerting_msg_key", "营销短信", 60 * 60 * 24 * 30),
|
|
|
|
|
+ PHONE_AREA_CODE("phone_area_code:key", "国家或地区码", 60 * 60 * 24 * 15),
|
|
|
|
|
+ CORP_CHAT_GROUP_CODE("corp_chat_group_code:", "企业微信群动态码", 60 * 60 * 24 * 15),
|
|
|
|
|
+ GENERAL_POPULARIZE_CODE("general_popularize_code:", "普通推广者关联优惠券", 10l),
|
|
|
;
|
|
;
|
|
|
|
|
|
|
|
private String name;
|
|
private String name;
|