From b1158d0bb5b453f0b8e5df143de92ee08d1e9048 Mon Sep 17 00:00:00 2001 From: 935090232@qq.com <ak473600000> Date: Wed, 27 Oct 2021 16:12:23 +0800 Subject: [PATCH] 修改赠送金额购买项目没打折的情况 --- 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