ソースを参照

三院医生圈

wangzhinan 2 年 前
コミット
754b8c0e5a

+ 2 - 2
svr/svr-statistics-hlw/pom.xml

@ -63,7 +63,7 @@
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-tomcat</artifactId>
            <scope>provided</scope>
           <!-- <scope>provided</scope>-->
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
@ -250,7 +250,7 @@
                            <addClasspath>true</addClasspath>
                            <!-- 外部依赖jar包的最终位置 -->
                            <classpathPrefix>lib/</classpathPrefix>
                            <mainClass>com.yihu.customer.SvrManageApplication</mainClass>
                            <mainClass>com.yihu.jw.StatisticsHlwApplication</mainClass>
                        </manifest>
                    </archive>
                </configuration>

+ 76 - 1
svr/svr-statistics-hlw/src/main/resources/application.yml

@ -7,7 +7,7 @@ swagger:
    password: jkzl
spring:
  application:
    name: quota-es
    name: svr-statistics-es
  boot:
    admin:
      url: http://localhost:8082
@ -688,3 +688,78 @@ hibernate:
  show_sql: true
  ejb:
    naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy
---
spring:
  profiles: mlwTest
  datasource:
    driverClassName: com.mysql.cj.jdbc.Driver
    primaryReadWrite:
      url: jdbc:mysql://172.26.0.114:3306/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
      username: root
      password: 4D^tK%!4
    primaryRead:
      url: jdbc:mysql://172.26.0.114:3306/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
      username: root
      password: 4D^tK%!4
    im: #im库
      url: jdbc:mysql://172.26.0.114:3306/base?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
      username: root
      password: 4D^tK%!4
  #    primaryReadWrite:
  #      url: jdbc:mysql://172.19.103.77/wlyy_quota?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
  #      username: root
  #      password: 123456
  #    primaryRead:
  #      url: jdbc:mysql://172.19.103.77/wlyy_quota?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
  #      username: root
  #      password: 123456
  #    im: #im库
  #      url: jdbc:mysql://172.19.103.77/wlyy_quota?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
  #      username: root
  #      password: 123456
  redis:
    host: 172.26.0.253 # Redis server host.
    port: 6390 # Redis server port.
    password: Kb6wKDQP1W4
  followupMessage:
    cron : 0 5 0 * * ?
    jobId : FOLLOWUP_PLAN_JOB
fv:
  jdbc:
    driver: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://172.17.110.160/fv?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
    username: ssgg
    password: ssgg
systemConfig:
  msg_push_server: http://127.0.0.1:3000
es:
  pwflag: 1 # 1需要密码,0不需要密码
  index: hlw_quota_test
  type: hlw_quota_test
  host: http://172.26.0.55:9000
  tHost: 172.26.0.55:9300
  clusterName: jkzl
  securityUser: lion:jkzlehr
  user: lion
  password: jkzlehr
wlyy:
  im:
    databaseName: im_new
quartz:
  name: schedulerFactoryBean_cwd
hibernate:
  dialect: org.hibernate.dialect.MySQL5Dialect
  show_sql: true
  ejb:
    naming_strategy: org.hibernate.cfg.ImprovedNamingStrategy

+ 5 - 1
svr/svr-statistics-hlw/src/main/resources/bootstrap.yml

@ -1,7 +1,11 @@
spring:
  application:
    name:  svr-statistics-hlw
  cloud:
    config:
      failFast: true
      username: jw
      password: jkzl
---
spring:
  profiles: jwdev