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; } }