单体和微服务启动类加注释

This commit is contained in:
zhangdaiscott
2020-12-02 20:13:45 +08:00
parent 8343ffca47
commit 213017c151
3 changed files with 9 additions and 2 deletions

View File

@ -17,6 +17,10 @@ import org.springframework.core.env.Environment;
import java.net.InetAddress;
import java.net.UnknownHostException;
/**
* 微服务启动类(采用此类启动项目为微服务模式)
* 注意: 需要先在naocs里面创建配置文件参考文档 http://doc.jeecg.com/2043906
*/
@Slf4j
@SpringBootApplication
@EnableFeignClients(basePackages = {"org.jeecg"})