From 8c24423fed7c85495ef8a73dd8da571d08cbd3ae Mon Sep 17 00:00:00 2001
From: 姜友瑶 <935090232@qq.com>
Date: Wed, 04 May 2022 09:52:33 +0800
Subject: [PATCH] fix:修复缓存bug
---
zq-erp/src/main/java/com/matrix/system/common/actions/DeveloperAction.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/zq-erp/src/main/java/com/matrix/system/common/actions/DeveloperAction.java b/zq-erp/src/main/java/com/matrix/system/common/actions/DeveloperAction.java
index 90acb1a..29981ca 100644
--- a/zq-erp/src/main/java/com/matrix/system/common/actions/DeveloperAction.java
+++ b/zq-erp/src/main/java/com/matrix/system/common/actions/DeveloperAction.java
@@ -3,6 +3,7 @@
import com.matrix.core.constance.MatrixConstance;
import com.matrix.core.pojo.AjaxResult;
import com.matrix.core.web.BaseAction;
+import com.matrix.system.common.init.LocalCache;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -73,4 +74,10 @@
return new AjaxResult(AjaxResult.STATUS_SUCCESS, "debug模式开启");
}
+ @RequestMapping("/getLocalCache")
+ public @ResponseBody AjaxResult getLocalCache(String key) {
+ return AjaxResult.buildSuccessInstance(LocalCache.getValues(key));
+ }
+
+
}
\ No newline at end of file
--
Gitblit v1.9.1