springboot
逮到一只小猪猪
正正经经写博客那是不可能滴,绝对不可能滴
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
springboot 项目属性配置
在application.yml加入 cupSize: A age: 18 content: "cupSize: ${cupSize},age: ${age}" 在controller中@Value注解,则可输出属性值 @Value("${cupSize}") private String cupSize; @Value("${age}") private Integer age; ...原创 2018-09-10 18:14:58 · 178 阅读 · 0 评论 -
spring boot 整合mybatis jar包
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org原创 2018-09-10 15:56:27 · 3895 阅读 · 0 评论 -
springboot的一些注解
@PathVariable:获取url中参数 @RequestParam:获取请求参数 @GetMapping:组合注解( @RequestMapping(method = RequestMethod.GET) )原创 2018-09-11 09:26:37 · 135 阅读 · 0 评论
分享