参数
@RestController @RefreshScope public class HomeController { @Value("${foo}") String foo; @RequestMapping(value = "/hi") public String hi(){ return foo; } }
请求 http://localhost:8881/refresh