01 2022 档案
摘要:常见的得导入thyme leaf包 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency>
阅读全文
摘要:1、遍历数组然后添加到list中; 2、使用Arrays.aslist(数组)方法
阅读全文
摘要:例子: 配置对象:(在yml中的配置) person: name: "王五" age: 13 sex: "男" happy: "打球" 使用配置的对象: @Component @ConfigurationProperties(prefix = "person") @Data public class
阅读全文
摘要:1、使用依赖 <!-- https://mvnrepository.com/artifact/org.json/json --> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>20201
阅读全文

浙公网安备 33010602011771号