xiaoyong931011
2022-10-25 49e14ea270bd71c7ba923d6e6d4f5b16f46adfa2
20221021
2 files modified
19 ■■■■■ changed files
src/main/resources/application-prod.yml 11 ●●●● patch | view | raw | blame | history
src/main/resources/application.yml 8 ●●●● patch | view | raw | blame | history
src/main/resources/application-prod.yml
@@ -15,10 +15,15 @@
      datasource:
        # 数据源-1,名称为 base
        base:
          username: db_tfc
          password: tfc123!@#
          username: ct_test
          password: 123456
          driver-class-name: com.mysql.cj.jdbc.Driver
          url: jdbc:mysql://127.0.0.1:3306/db_tfc?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
          url: jdbc:mysql://120.27.238.55:3306/db_igt?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
#        base:
#          username: db_tfc
#          password: tfc123!@#
#          driver-class-name: com.mysql.cj.jdbc.Driver
#          url: jdbc:mysql://127.0.0.1:3306/db_tfc?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8
  ## redis配置
  redis:
src/main/resources/application.yml
@@ -1,13 +1,13 @@
server:
  port: 8095
#  port: 8075
#  port: 8095
  port: 8075
  tomcat:
    uri-encoding: utf-8
spring:
  profiles:
    active: test
#    active: prod
#    active: test
    active: prod
  thymeleaf:
    cache: false