- 博客(4)
- 收藏
- 关注
原创 @PostConstruct 标签下获取配置文件值
package com.ruyi.common.config;import org.springframework.boot.context.properties.ConfigurationProperties;import org.springframework.stereotype.Component;/**读取项目相关配置@author zc*/@Component@ConfigurationProperties(prefix = “myf”)public class MyConfig{p
2023-08-30 17:58:28
171
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人