liusuyi
2025-10-28 cf08f4a77150c905c5a578be678259013361b661
ard-admin/src/main/java/com/ard/web/controller/monitor/CacheController.java
@@ -20,12 +20,12 @@
import com.ard.common.constant.CacheConstants;
import com.ard.common.core.domain.AjaxResult;
import com.ard.common.utils.StringUtils;
import com.ard.system.system.domain.SysCache;
import com.ard.system.domain.SysCache;
/**
 * 缓存监控
 * 
 * @author ruoyi
 * @author ard
 */
@RestController
@RequestMapping("/monitor/cache")
@@ -43,6 +43,8 @@
        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(CacheConstants.CAMERA_LIST_KEY, "相机列表"));
        caches.add(new SysCache(CacheConstants.UAV_ONLINE_KEY, "在线无人机"));
    }
    @PreAuthorize("@ss.hasPermi('monitor:cache:list')")