1、整合ribbon @Bean @LoadBalanced public ResTemplate restTemplate(){ return new ResTemplate(); }2、自定义ribbon属性 a、使用java代码自定义 b、使用属性自定义