修改网关serviceId

This commit is contained in:
tanghc
2019-11-20 20:10:51 +08:00
parent 6f9fff2b89
commit 95c577f2a5
5 changed files with 5 additions and 10 deletions

View File

@@ -54,11 +54,6 @@
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-zuul</artifactId>
</dependency>
<!-- 使用nacos注册中心
版本 0.2.x.RELEASE 对应的是 Spring Boot 2.x 版本,版本 0.1.x.RELEASE 对应的是 Spring Boot 1.x 版本。
https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-alibaba-nacos-discovery

View File

@@ -1,6 +1,6 @@
server.port=8081
# 固定不变
spring.application.name=api-gateway
spring.application.name=sop-gateway
# ------- 需要改的配置 -------
# mysql数据库账号