From 5ddf0bdcd13d8caf667de415e899413ab8d33dfe Mon Sep 17 00:00:00 2001 From: hugh Date: Mon, 24 May 2021 15:01:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/tptj/demo/hg/request/pre/handle/Demo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/tptj/demo/hg/request/pre/handle/Demo.java b/src/main/java/com/tptj/demo/hg/request/pre/handle/Demo.java index bd609aa..8f1467a 100644 --- a/src/main/java/com/tptj/demo/hg/request/pre/handle/Demo.java +++ b/src/main/java/com/tptj/demo/hg/request/pre/handle/Demo.java @@ -23,7 +23,7 @@ public class Demo extends AbstractRequestPreHandleProvider { @Override @Focus(id = "com.tptj.demo.hg.request.pre.handle.v10",text = "请求预处理demo") public boolean preHandle(HttpServletRequest req, HttpServletResponse res) { - req.setAttribute("sys", Config.getInstance() ); + req.setAttribute("sys", Config.getInstance().getSysKey()); return true; } }