注解: @RestController = @Controller+@ResponseBody``@RestController : 返回正常格式 @Controller+@ResponseBod: 返回html模板(不包含document type``html``script)
Java 注解:@value 解析配置文件(yml or prop*)文件的内容注入到Java类中. @Autowired 注入带有ConfigurationProperties&Component注解的javaBean yml文件配置开发环境和生产环境 spring: profiles: active: dev dev对应的另外一个==同…