花费 7 ms
Springboot读取本地图片并显示

在application.yml中配置url访问路径和本地图片路径: 方框1:url中访问路径,这里为:localhost:8080/testspringboot/image/... ...

Mon Oct 01 01:54:00 CST 2018 3 17121
@MapperScan使用

@MapperScan:要扫描mapper类包的路径 还可以扫描多个包,如: @MapperScan({"com.kfit.demo","com.kfit.user"}) 如果mapper类 ...

Wed Sep 19 00:24:00 CST 2018 0 11240
使用restTemplate来访问https

1、maven: <dependency>         <groupId>org.apache.httpcomponents</groupId>     ...

Sat Oct 27 01:10:00 CST 2018 0 8977
@Configuration的使用

以下内容转载自:duanxz的spring4.0之二:@Configuration的使用,如有侵权,请联系作者本人予以删除 从Spring3.0,@Configuration用于定义配置类,可替换x ...

Wed Sep 19 00:04:00 CST 2018 0 725

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM