人人开源框架登录无验证码,控制台报错,验证码503 Service Unavailable
注意观察 renren-fast 是否有注册到Nacos上
如果没有,检查配置文件bootstrap.yml
spring: cloud: nacos: discovery: server-addr: 127.0.0.1:8848 application: name: renren-fast
和启动项是否添加注解
@EnableDiscoveryClient //该注解
@SpringBootApplication
public class RenrenApplication {
public static void main(String[] args) {
SpringApplication.run(RenrenApplication.class, args);
}
}