Explorar o código

maxkey 名称配置修改

vincent %!s(int64=3) %!d(string=hai) anos
pai
achega
0c4797a1dd

+ 1 - 1
maxkey-gateway/src/main/resources/application.yml

@@ -10,7 +10,7 @@ spring:
   cloud:
     gateway:
       routes:
-        #nacos健康检查端口8080
+        #认证服务接口
         - id: taihu_router
           uri: lb://taihu
           filters:

+ 1 - 1
maxkey-webs/maxkey-web-maxkey/src/main/resources/application-http.properties

@@ -22,7 +22,7 @@ server.port                                     =8080
 #28800s=8h
 server.servlet.session.timeout                  =1800
 #server context path
-server.servlet.context-path                     =/taihu
+server.servlet.context-path                     =/taihu-auth
 #nacos discovery
 spring.cloud.nacos.discovery.enabled            =${NACOS_DISCOVERY_ENABLED:true}
 spring.cloud.nacos.discovery.instance-enabled   =true

+ 2 - 2
maxkey-webs/maxkey-web-maxkey/src/main/resources/application-https.properties

@@ -22,7 +22,7 @@ server.port                                     =443
 #28800s=8h
 server.servlet.session.timeout                  =1800
 #server context path
-server.servlet.context-path                     =/maxkey
+server.servlet.context-path                     =/taihu-auth
 #nacos discovery
 spring.cloud.nacos.discovery.enabled            =${NACOS_DISCOVERY_ENABLED:true}
 spring.cloud.nacos.discovery.instance-enabled   =false
@@ -37,7 +37,7 @@ maxkey.server.name                              =${maxkey.server.scheme}://${max
 maxkey.server.uri                               =${maxkey.server.name}${server.servlet.context-path}
 #default.uri                
 maxkey.server.default.uri                       =${maxkey.server.uri}/appList
-maxkey.server.mgt.uri                           =${maxkey.server.name}:9527/maxkey-mgt/login
+maxkey.server.mgt.uri                           =${maxkey.server.name}:9527/taihu-mgt/login
 maxkey.server.authz.uri                         =${maxkey.server.name}${server.servlet.context-path}
 #InMemory 0 , Redis 2               
 maxkey.server.persistence                       =${SERVER_PERSISTENCE:0}

+ 1 - 1
maxkey-webs/maxkey-web-maxkey/src/main/resources/application.properties

@@ -18,7 +18,7 @@
 application.title                           =xintong
 application.formatted-version               =v3.1.1 GA
 #for dynamic service discovery
-spring.application.name                     =auth
+spring.application.name                     =taihu-auth
 ############################################################################
 #Main.banner-mode configuration                                            #
 ############################################################################

+ 1 - 1
maxkey-webs/maxkey-web-maxkey/src/main/resources/bootstrap.properties

@@ -4,7 +4,7 @@ spring.cloud.nacos.config.server-addr           =${NACOS_CONFIG_SERVER_ADDR:127.
 # Data ID:maxkey.properties
 # Group:DEFAULT_GROUP
 # configuration:useLocalCache=true
-spring.application.name                         =maxkey
+spring.application.name                         =taihu-auth
 # Suffix for the configuration. Supports properties,yaml,yml,default is properties
 spring.cloud.nacos.config.file-extension        =properties
 #spring.cloud.nacos.config.file-extension=yaml