提交 c7e4973d 作者: yanxin

服务名修改

上级 dd68590f
...@@ -218,6 +218,7 @@ ...@@ -218,6 +218,7 @@
</dependencies> </dependencies>
<build> <build>
<finalName>subject-server-v1</finalName>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
......
server: server:
port: 1688 port: 1688
servlet: servlet:
context-path: /event # 通过gateway访问时,上下文不能以-server结尾,会导致访问404
context-path: /subjectServer
spring: spring:
profiles: profiles:
active: @profile.name@ active: @profile.name@
application: application:
name: event name: subject-server
main: main:
allow-bean-definition-overriding: true allow-bean-definition-overriding: true
cloud: cloud:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论