SpringBoot
文章平均质量分 67
SpringBoot
陈大大的期待
这个作者很懒,什么都没留下…
展开
-
延时队列DelayQueue的使用
DelayQueue原创 2022-11-07 20:26:40 · 393 阅读 · 0 评论 -
微信小程序消息订阅Java
微信小程序消息订阅原创 2022-11-05 22:00:35 · 2605 阅读 · 0 评论 -
微信小程序获取用户手机号码
Java通过访问微信小程序官方的服务器获取微信用户的手机号码和uid原创 2022-10-21 21:30:15 · 25101 阅读 · 16 评论 -
@RequiredArgsConstructor注解
@RequiredArgsConstructor注解的使用原创 2022-07-12 22:28:55 · 365 阅读 · 0 评论 -
SpringBoot图片文件上传
SpringBoot图片上传并存储返回可访问的url链接原创 2022-07-02 09:06:18 · 309 阅读 · 0 评论 -
快速创建SpringBoot项目
原创 2022-01-14 15:15:39 · 62 阅读 · 0 评论 -
SpringBoot模板引擎thymeleaf
<!--以下两个依赖是thymeleaf模板引擎使用所需要的引擎--><dependency> <groupId>org.thymeleaf</groupId> <artifactId>thymeleaf-spring5</artifactId></dependency><dependency> <groupId>org.thymeleaf.extras<...原创 2022-01-14 15:13:50 · 128 阅读 · 0 评论 -
SpringBoot的yaml文件和properties文件
关于application.yaml文件和application.properties文件的对比 在执行的时候会先执行application.yaml文件的配置,再来执行application.properties文件的配置,但是application.properties文件的优先级高一些,所以,在两个文件有相同的配置时,application.properties文件中的配置生效,而application.yaml文件中的配置文件不生效。如果yml和properties同时...原创 2022-01-14 15:14:28 · 512 阅读 · 0 评论 -
SpringBoot的pom.xml文件
目录依赖启动器web依赖单元测试依赖解决实体类使用注解@ConfigurationProperties(prefix = "person")时爆红依赖jsr303校验依赖thymeleaf模板引擎使用依赖build项目打包插件依赖启动器<!--启动器--><dependency> <groupId>org.springframework.boot</groupId> <artifac..原创 2022-01-14 15:12:35 · 2417 阅读 · 0 评论 -
SpringBoot常用注解及作用
控制器controller常用注解controller: 返回json数据ResponseBody: 向浏览器返回字符串RestController = Controller + RestponseBodyRequestMapping("/hello") 映射hello请求 localhost:8080/hello@Autowire...原创 2021-11-03 10:01:29 · 530 阅读 · 0 评论 -
Spring Boot开发 - Hello World--(一)
准备好java和maven原创 2021-11-03 09:42:03 · 146 阅读 · 0 评论