From b29becf95484be48aa09e87fcc7cc19f94cf9c81 Mon Sep 17 00:00:00 2001
From: rentaiming <806181062@qq.com>
Date: 星期三, 10 七月 2024 18:16:23 +0800
Subject: [PATCH] 修改bug

---
 ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java |   27 ++++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java
index 1d2510e..2ccbc5c 100644
--- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java
+++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/CacheConstants.java
@@ -10,7 +10,7 @@
     /**
      * 缓存有效期,默认720(分钟)
      */
-    public final static long EXPIRATION = 720;
+    public final static long EXPIRATION = 720 * 10;
 
     /**
      * 缓存刷新时间,默认120(分钟)
@@ -56,4 +56,29 @@
      * 登录IP黑名单 cache key
      */
     public static final String SYS_LOGIN_BLACKIPLIST = SYS_CONFIG_KEY + "sys.login.blackIPList";
+
+    /**
+     * 修改密码验证码 redis key
+     */
+    public static final String CHANGE_PASSWORD_CAPTCHA_CODE_KEY = "change_password_captcha_codes:";
+    /**
+     * 省市区列表key
+     */
+    public static final String REGION_LIST = "region_list";
+
+    /**
+     * 省市区列表key
+     */
+    public static final String CITY_LIST = "city_list";
+
+    /**
+     * 秒杀活动商品key前缀
+     */
+    public static final String SECKILL_GOODS = "seckill_goods:";
+    /**
+     * 订单延时任务-自动关闭","超时订单自动关闭
+     */
+
+    public static final String ORDER_AUTOMATIC_CANCEL = "oroer_automatic_cancel:";
+
 }

--
Gitblit v1.7.1