|  |  | 
 |  |  |     druid: | 
 |  |  |       # 主库数据源 | 
 |  |  |       master: | 
 |  |  |         url: jdbc:mysql://192.168.1.196:3306/product-inventory-management-hysn?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 | 
 |  |  |         url: jdbc:mysql://192.168.1.185:3306/product-inventory-management-hysn?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 | 
 |  |  |         username: root | 
 |  |  |         password: 123456 | 
 |  |  |         password: xd@123456.. | 
 |  |  |       # 从库数据源 | 
 |  |  |       slave: | 
 |  |  |         # 从数据源开关/默认关闭 | 
 |  |  | 
 |  |  |   redis: | 
 |  |  |     # 地址 | 
 |  |  | #    host: 127.0.0.1 | 
 |  |  |     host: 192.168.1.196 | 
 |  |  |     host: 192.168.1.185 | 
 |  |  |     # 端口,默认为6379 | 
 |  |  |     port: 6379 | 
 |  |  |     # 数据库索引 |