Browse Source

修复BUG

10.0
hugh 4 years ago
parent
commit
5ddf0bdcd1
  1. 2
      src/main/java/com/tptj/demo/hg/request/pre/handle/Demo.java

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

Loading…
Cancel
Save