网站介绍:1.先引入maven依赖org.springframework.bootspring-boot-configuration-processortrue2.新建一个Java类import org.springframework.boot.context.properties.ConfigurationProperties;import org.springframework.context.anno..._springboot 常量类
- 链接地址:https://blog.csdn.net/weixin_30449673/article/details/112009804
- 链接标题:springboot全局常量_SpringBoot 常量类配置-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:4402
- 网站标签:springboot 常量类