浏览代码

诊后服务项目构建

wangzhinan 1 年之前
父节点
当前提交
c001e12413

+ 4 - 2
gateway/ag-basic/src/main/resources/bootstrap.yml

@ -1,6 +1,6 @@
spring:
  application:
    name: ag-basic
    name: ag-basic--wangzhinan
  cloud:
    config:
      failFast: false
@ -10,10 +10,12 @@ spring:
#发现服务
eureka:
  client:
    register-with-eureka: false
    fetch-registry: true
    healthcheck:
      enabled: false #监控检查
    serviceUrl:
      defaultZone: http://jw:jkzl@127.0.0.1:8761/eureka/
      defaultZone: http://jw:jkzl@172.26.0.153:8761/eureka/
  instance:
    prefer-ip-address: false
    instance-id: ${spring.cloud.client.ip-address}:${server.port}

+ 5 - 0
server/svr-authentication/pom.xml

@ -128,6 +128,11 @@
            <groupId>com.yihu.jw</groupId>
            <artifactId>common-util</artifactId>
        </dependency>
        <dependency>
            <groupId>com.yihu.jw</groupId>
            <artifactId>swagger-starter</artifactId>
            <version>${version.wlyy-common}</version>
        </dependency>
        <dependency>
            <groupId>com.yihu.jw</groupId>
            <artifactId>mysql-starter</artifactId>

+ 6 - 0
server/svr-authentication/src/main/resources/application.yml

@ -56,6 +56,12 @@ fast-dfs:
    max-size: 20
    wait-time: 500
swagger:
  basic:
    enable: true
    username: jw
    password: jkzl
---
spring:
  profiles: jwdev

+ 1 - 1
server/svr-authentication/src/main/resources/bootstrap.yml

@ -1,6 +1,6 @@
spring:
  application:
    name: svr-authentication111
    name: svr-authentication
  cloud:
    config:
      failFast: true