![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Springboot
文章平均质量分 88
记录spring学习过程
mizit
这个作者很懒,什么都没留下…
展开
-
vue-admin-template-master项目学习
github地址https://github.com/PanJiaChen/vue-admin-template新手踩坑https://www.jianshu.com/p/290cd0060d04项目目录项目中有如下目录build:编译用到的脚本mock:模拟后台服务器接口,可以产生数据node_modules:node第三方包,这个目录可以删掉,通过npm/cnpm install命令可以下载public:暂时没学习到src:源代码文件,这里通常是我们写代码的地方tests:测试原创 2021-05-15 12:24:32 · 5102 阅读 · 0 评论 -
ConfigurationProperties注解
spring实现bean的注入Springboot中有如下几种常见的注入方法:@ConfigurationProperties(prefix = “student”):声明一个类作为配置类,代替xml文件@Bean:声明在方法上,将方法的返回值加入Bean容器,代替标签@Value:属性注入@PropertySource:指定外部属性文件。在类上添加@PropertySource(“classpath:/jdbc.properties”)配置文件注入@ConfigurationProperti原创 2021-04-23 13:28:56 · 745 阅读 · 0 评论