![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springMVC
LinkcOne
这个作者很懒,什么都没留下…
展开
-
springMVC:HandlerInterceptor拦截器添加系统日志(权限校验)代码收藏
public class RequestLogIntercepter implements HandlerInterceptor { private Logger log = LoggerFactory.getLogger(RequestLogIntercepter.class); @Autowired private ISysMenuDao sysMenuDao; ...原创 2018-03-18 19:44:34 · 2120 阅读 · 0 评论 -
SpringMVC 测试 mockMVC
本篇文章,转载自:https://www.cnblogs.com/lyy-2016/p/6122144.html 相关收集参考:http://www.jsjtt.com/java/javaceshi/83_3.html SpringMVC测试框架 基于RESTful风格的SpringMVC的测试,我们可以测试完整的Spring MVC流程,即从URL请求到控制器处理,再到视图渲染都可以测试。...转载 2018-04-11 11:23:05 · 311 阅读 · 0 评论