di注入LoadBalancerClient类实现负载均衡,借助@LoadBalanced注解实现RestTemplate的负载均衡
消费者服务发现及调用1.导入依赖org.springframework.bootspring-boot-starter-webcom.alibaba.cloudspring-cloud-starter-alibaba-nacos-discovery2.修改yml文件夹server:port:8090spring:application:name:mu-consumercloud:nacos:dis