![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
代码收藏
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 评论 -
Java加密相关util代码收藏
public class AESUtil { // 定义一个私有构造方法 private AESUtil() { } // 定义一个静态私有变量(不初始化,不使用final关键字,使用volatile保证了多线程访问时instance变量的可见性,避免了instance初始化时其他变量属性还没赋值完时,被另外线程调用) private static v...原创 2018-03-18 19:48:20 · 345 阅读 · 0 评论