wuhb 6 ماه پیش
والد
کامیت
0e506684bd

+ 1 - 1
ygtx-admin/src/main/java/com/ygtx/web/controller/monitor/CacheController.java

@@ -43,7 +43,7 @@ public class CacheController
         caches.add(new SysCache(CacheConstants.REPEAT_SUBMIT_KEY, "防重提交"));
         caches.add(new SysCache(CacheConstants.RATE_LIMIT_KEY, "限流处理"));
         caches.add(new SysCache(CacheConstants.PWD_ERR_CNT_KEY, "密码错误次数"));
-        caches.add(new SysCache("NOTIFY:", "通知数量"));
+        caches.add(new SysCache(CacheConstants.NOTIFY_KEY, "通知数量"));
     }
 
     @PreAuthorize("@ss.hasPermi('monitor:cache:list')")

+ 2 - 2
ygtx-common/src/main/java/com/ygtx/common/constant/CacheConstants.java

@@ -42,6 +42,6 @@ public class CacheConstants
      */
     public static final String PWD_ERR_CNT_KEY = "pwd_err_cnt:";
 
-
-    public static final String NOTIFY_STORAGE_KEY="NOTIFY:STORAGE:USER_TASK_";
+    public static final String NOTIFY_KEY = "NOTIFY:";
+    public static final String NOTIFY_STORAGE_KEY= "NOTIFY:STORAGE:USER_TASK_";
 }