Loading

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页
摘要: 使用注解写aop时最好使用环绕通知写 切面类: /** * 用于记录日志的工具类,它里面提供了公共的代码 */ @Component("logger") @Aspect //表示当前类是一个切面类 public class Logger { @Pointcut("execution(* cn.fly 阅读全文
posted @ 2019-11-15 13:39 小飞猪咯咯 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 参考: https://blog.csdn.net/jeffleo/article/details/54136904 一、AOP的核心概念AOP(Aspect Oriented Programming),是面向切面编程的技术。AOP基于IoC基础,是对OOP的有益补充,流行的AOP框架有Sping 阅读全文
posted @ 2019-11-15 12:53 小飞猪咯咯 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.zhihu.com/question/24863332 https://zhuanlan.zhihu.com/p/60842627 什么是AOP:(注:Spring Security的拦截是基于Servlet的Filter的,不是aop,不过两者在使用方式上类似) 好 阅读全文
posted @ 2019-11-15 10:22 小飞猪咯咯 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 先安装screenfull:npm install screenfull@4.2.0 --save (注意版本号) 一、在\src\components目录下创建Screenfull文件夹,创建index.vue文件,封装screenfull <template> <div> <svg-icon : 阅读全文
posted @ 2019-11-14 13:55 小飞猪咯咯 阅读(2223) 评论(1) 推荐(0) 编辑
摘要: 参考: https://github.com/PanJiaChen/vue-admin-template/issues/349 一、从vue-element-admin复制文件: vue-admin-template\src\layout\components\TagsView 文件夹vue-adm 阅读全文
posted @ 2019-11-14 02:49 小飞猪咯咯 阅读(14858) 评论(19) 推荐(4) 编辑
摘要: 转载: 版权声明:本文为CSDN博主「qq_36098284」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。原文链接:https://blog.csdn.net/qq_36098284/article/details/80678466 一、property'中 阅读全文
posted @ 2019-11-13 20:14 小飞猪咯咯 阅读(866) 评论(0) 推荐(0) 编辑
摘要: 报错如下所示: 解决方案: nano /etc/my.cnf 添加如下设置: key_buffer=16K table_open_cache=4 query_cache_limit=256K query_cache_size=4M max_allowed_packet=1M sort_buffer_ 阅读全文
posted @ 2019-11-13 16:31 小飞猪咯咯 阅读(287) 评论(0) 推荐(0) 编辑
摘要: mybatis-config.xml配置文件配置时,要注意节点顺序 <properties>...</properties> <settings>...</settings> <typeAliases>...</typeAliases> <typeHandlers>...</typeHandlers 阅读全文
posted @ 2019-11-11 22:12 小飞猪咯咯 阅读(244) 评论(0) 推荐(0) 编辑
摘要: 注意配置以下的依赖: <!-- 引入druid数据源--> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid</artifactId> <version>1.1.8</version> </dependency> <!-- a 阅读全文
posted @ 2019-11-11 19:57 小飞猪咯咯 阅读(862) 评论(0) 推荐(0) 编辑
摘要: 解决方法: 在数据库配置的url后添加?useUnicode=true&amp;characterEncoding=utf-8 参考: https://blog.csdn.net/IT_private/article/details/80990621 阅读全文
posted @ 2019-11-09 12:53 小飞猪咯咯 阅读(892) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 19 下一页