摘要:
1、在springboot项目中的resources目录下新建一个文件 application.yml 2、编写一个实体类 Dog; import org.springframework.beans.factory.annotation.Value; import org.springframewo 阅读全文
posted @ 2022-02-28 22:32
临易
阅读(170)
评论(0)
推荐(0)
摘要:
server: port: 8080 #对空格要求十分严格 #普通的key-value #name: qinjiang #对象 student: name: qinjiang age: 3 #行内写法 student2: {name: qinjiang,age: 3} #数组 pets: - cat 阅读全文
posted @ 2022-02-28 21:29
临易
阅读(90)
评论(0)
推荐(0)

浙公网安备 33010602011771号