注册日期:2023-12-29
上次登录日期:2023-12-29
个人简介
1.添加依赖 com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery 2.2.9.RELEASE com.alibaba.cloud spring-cloud-starter-alibaba-nacos-config 2.2.9.RELEASE 2.注册中心 1、把Nacos的Ip和端口配置配置文件中 2、在启动类上加上@EnableDiscoveryClient注解 3、同一类的服务可以指定Group
空空如也 ~ ~