| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- server:
- port: 8120
- swagger: true
- spring:
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://192.168.1.200:3306/hjzx?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
- username: root
- password: 800100
- # shardingsphere:
- # datasource:
- # names: master,slave0,slave1
- # master:
- # type: com.alibaba.druid.pool.DruidDataSource
- # driver-class-name: com.mysql.cj.jdbc.Driver
- # url: jdbc:mysql://192.168.1.200:3306/kfyy?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
- # username: root
- # password: 800100
- # slave0:
- # type: com.alibaba.druid.pool.DruidDataSource
- # driver-class-name: com.mysql.cj.jdbc.Driver
- # url: jdbc:mysql://192.168.1.200:3306/kfyy?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
- # username: root
- # password: 800100
- # slave1:
- # type: com.alibaba.druid.pool.DruidDataSource
- # driver-class-name: com.mysql.cj.jdbc.Driver
- # url: jdbc:mysql://192.168.1.200:3306/kfyy?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true
- # username: root
- # password: 800100
- # rules:
- # readwrite-splitting:
- # data-sources:
- # mds:
- # type: static
- # props:
- # write-data-source-name: master
- # read-data-source-names: slave0,slave1
- # load-balancer-name: read-random
- # load-balancers:
- # read-random:
- # type: round_robin
- # enabled: true
- redis:
- # 地址
- host: 192.168.1.200
- # 端口,默认为6379
- port: 6379
- # 数据库索引
- database: 5
- # 密码
- password:
- # 连接超时时间
- timeout: 10s
- wechat:
- # AppId: wx0d67bbb5666ec226
- # AppSecret: abe7ea3ac71e42fa27ec564045b1387a
- AppId: wxe8b06998505853d2
- AppSecret: e3f24289c16dafcb26596e43ef21ccc2
- Token: a3ac71e42f
- EncodingAESKey: SnHmIXFhkuagAXcoAAEsgVnNiqFdn2TXkwT7Tm2MqkC
- esclient:
- host: 192.168.1.8
- port: 9200
- auth: false
- username:
- password:
|