springBoot入门教程之value和configurationProperties区别
@Component将person值加载到容器中
以前
<bean class="Person">
<property name = "name" value = "字面量/${key} 从环境变量中获取值"></property>
</bean>
@Validated 校验 ---------------类上注释 方法名上@Emil
@Component将person值加载到容器中
以前
<bean class="Person">
<property name = "name" value = "字面量/${key} 从环境变量中获取值"></property>
</bean>
@Validated 校验 ---------------类上注释 方法名上@Emil