鞍钢鲅鱼圈能源管控系统后端代码
liriming
2025-03-25 ca5436abd755ad04735810d9e146c7dcd1158663
ansteel-biz/src/main/resources/application-dev.yaml
@@ -35,21 +35,14 @@
      primary: master
      datasource:
        master:
          url: jdbc:mysql://172.16.8.100:3306/iailab_expert_tenant_ansteel?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
          url: jdbc:mysql://172.16.8.100:3306/iailab_fast_tenant_ansteel?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
          username: root
          password: 123456
        slave: # 模拟从库,可根据自己需要修改
          lazy: true # 开启懒加载,保证启动速度
          url: jdbc:mysql://127.0.0.1:3306/iailab_expert_tenant_ansteel?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
          url: jdbc:mysql://127.0.0.1:3306/iailab_fast_tenant_ansteel?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
          username: root
          password: 123456
  # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优
  redis:
    host: 172.16.8.100 # 地址
    port: 6379 # 端口
    database: 10 # 数据库索引
    password: 123456 # 密码,建议生产环境开启
--- #################### 平台相关配置 ####################
@@ -65,9 +58,9 @@
    enable: false
  token:
    base-url: http://127.0.0.1:48080/admin-api/system
    tenant-id: 172
    client-id: shasteel
    client-secret: shasteel111111111111111
    username: shasteel
    tenant-id: 176
    client-id: ansteel
    client-secret: ansteel111111111111111
    username: ansteel
    password: 123456