这是一个典型的Nacos 配置覆盖/优先级问题。@Value只拿到了代码中的默认值449,说明 Nacos 中的配置1552没有生效。我帮你分析一下可能的原因和解决方案:🔍 问题排查步骤1. 确认 Nacos 配置是否真的加载了在启动类或配置类上加@RefreshScope,并在日志中打印配置源:java@SpringBootApplication @RefreshScope public class Application { public static void main(String[] args) { ConfigurableApplicationContext context = SpringApplication.run(Application.class, args); // 打印所有配置源,确认 Nacos 是否在其中 Environment env = context.getEnvironment(); System.out.println("=== 配置源 ==="); for (PropertySource? source : ((AbstractEnvironment) env).getPropertySources()) { System.out.println(source.getName()); } // 直接读取配置值 System.out.println("msg.send.orgIds = " + env.getProperty("msg.send.orgIds")); } }如果输出