AOP的本质还是动态代理对方法调用进行增强。 SpringBoot 提供了方便的注解实现自定义切面Aspect。 1、使用需要了解的几个概念: 切面、@Aspect 切点、@Pointcut、 通知、@Before/@After/@Around/@AfterReturning/@AfterThrow ...
分类:
编程语言 时间:
2019-11-22 13:31:39
阅读次数:
140
LeetCode,第13场双周赛,题目,题解,链接,Java,Hard,示例,提示,整数,握手,long,动态规划,DP,mod,一维数组,cnblogs,防伪标识。 ...
分类:
编程语言 时间:
2019-11-18 13:21:11
阅读次数:
83
一、原题描述 You are given an even number of people num_people that stand around a circle and each person shakes hands with someone else, so that there are ...
分类:
其他好文 时间:
2019-11-17 12:34:10
阅读次数:
93
Mind Map A mind map is a kind of spider diagram that organizes information around a central concept, with connecting branches. The layout is controlle... ...
分类:
其他好文 时间:
2019-11-15 14:10:36
阅读次数:
67
弹性盒子flex: 对于客户端的布局非常有用,不管是平均分配space-around这个属性还是两端对齐space-betwee在页面布局的时候都会有很好的表现。 对于部分内容区域中,具有很多大致内容相同的几个区块的布局都可以使用到它,将父级设置为display:flex;父级就会变成容器,子级就会 ...
分类:
其他好文 时间:
2019-11-09 23:58:26
阅读次数:
190
SCode 扩展商店中搜索 stylus Supremacy 进行安装 之后在用户设置 setting.json 配置文件中添加如下配置即可 ...
分类:
其他好文 时间:
2019-11-09 23:45:50
阅读次数:
288
https://ask.csdn.net/questions/769477/** * 环绕增强,验证权限 * @param joinPoint 目标对象 * @param authCheck 自定义的注解,Around必须这样写,否则自定义的注解无法传入 * */ @Around("pointAll ...
分类:
其他好文 时间:
2019-11-08 09:37:33
阅读次数:
99
Given an integer matrix, find the length of the longest increasing path. From each cell, you can either move to four directions: left, right, up or do ...
分类:
其他好文 时间:
2019-11-07 13:40:29
阅读次数:
75
Stories (myths) may then grow up around a ritual. Frequently the myths include representatives of those supernatural forces that the rites celebrate o ...
分类:
其他好文 时间:
2019-11-06 13:33:41
阅读次数:
52
/* 运用在父级元素上 align-content: */ /* align-content: flex-start ; 顶部对齐(与边框线的起点(顶部对齐)) */ /* align-content:center; 垂直方向上居中 */ /* align-content: flex-end交叉轴的 ...
分类:
其他好文 时间:
2019-11-06 00:34:48
阅读次数:
162