![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
zhangpeng2022
叩首问路,码梦为生
展开
-
springboot之AOP(1)前置方法
@Aspect @Component public class MethodAspect { @Pointcut("execution(* com.sairobo.heart.modules.app.controller..*.*(..))") public void webLog(){} @Before("webLog()") public void deBef...原创 2018-03-05 21:16:31 · 2112 阅读 · 0 评论 -
springboot之读取properties属性文件
1、/** * 加载配置参数 */ public abstract class PropertyUtils { protected abstract ResourceBundle getResource(); /** * 获取Property文件中key对应的value * @param key * @param params * @r...原创 2018-03-22 17:32:33 · 1239 阅读 · 0 评论