|  |  | 
 |  |  |     druid: | 
 |  |  |       # 主库数据源 | 
 |  |  |       master: | 
 |  |  |         #        河南 | 
 |  |  |         url: jdbc:mysql://127.0.0.1:3308/smartor_hn?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 | 
 |  |  |         #   河南 | 
 |  |  |         url: jdbc:mysql://127.0.0.1:3308/smartor_hn?useUnicode=true&characterEncoding=utf8&&rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 | 
 |  |  |         username: root | 
 |  |  |         password: 123456 | 
 |  |  |         driverClassName: com.mysql.cj.jdbc.Driver | 
 |  |  | 
 |  |  |  | 
 |  |  |       # 从库数据源 | 
 |  |  |       slave: | 
 |  |  |       # 从数据源开关/默认关闭(公司) | 
 |  |  |       # enabled: true | 
 |  |  |       # url: jdbc:sqlserver://116.62.18.175:6001;DatabaseName=iv-ywey;encrypt=false;SelectMethod=cursor | 
 |  |  |       # username: sa | 
 |  |  |       # password: Hxerp2000 | 
 |  |  |       # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver | 
 |  |  |         # 从数据源开关/默认关闭(公司) | 
 |  |  |         enabled: true | 
 |  |  |         url: jdbc:postgresql://10.10.13.108:5432/hdr?socketTimeout=300000 | 
 |  |  |         username: mbsjjk | 
 |  |  |         password: sjjk@2025 | 
 |  |  |         driver-class-name: org.postgresql.Driver | 
 |  |  |  | 
 |  |  |       # 从数据源开关/默认关闭(义乌二院) | 
 |  |  |       # enabled: true | 
 |  |  | 
 |  |  |       #      validationQuery: SELECT 1 FROM DUAL | 
 |  |  |       validationQuery: SELECT 1 | 
 |  |  |       testWhileIdle: true | 
 |  |  |       testOnBorrow: false | 
 |  |  |       testOnBorrow: true | 
 |  |  |       testOnReturn: false | 
 |  |  |       webStatFilter: | 
 |  |  |         enabled: true | 
 |  |  | 
 |  |  |         # #连接池最大阻塞等待时间(使用负值表示没有限制) | 
 |  |  |         max-wait: -1ms | 
 |  |  |  | 
 |  |  | # PageHelper分页插件 | 
 |  |  | pagehelper: | 
 |  |  |   helperDialect: postgresql | 
 |  |  |   supportMethodsArguments: true | 
 |  |  |   params: count=countSql | 
 |  |  |  | 
 |  |  | # Swagger配置 | 
 |  |  | swagger: | 
 |  |  |   # 是否开启swagger | 
 |  |  | 
 |  |  |     page: page | 
 |  |  |     default-page: 1 | 
 |  |  |     default-size: 10 | 
 |  |  |  | 
 |  |  | # SSO配置 | 
 |  |  | sso: | 
 |  |  |   enabled: true | 
 |  |  |   client_id: "mbglxt"  # 信通院提供 | 
 |  |  |   client_secret: "mbglxt"  # 信通院提供 | 
 |  |  |   # 内网配置 | 
 |  |  |   internal: | 
 |  |  |     authorize_url: "http://10.10.13.112:37727/connect/authorize" | 
 |  |  |     token_url: "http://10.10.13.112:37727/connect/token" | 
 |  |  |     userinfo_url: "http://10.10.13.112:37727/connect/userinfo" | 
 |  |  |     redirect_uri: "http://10.10.13.142:8096/sso/callback" | 
 |  |  |   # 外网配置 | 
 |  |  |   external: | 
 |  |  |     authorize_url: "http://172.20.111.142:37727/connect/authorize" | 
 |  |  |     token_url: "http://172.20.111.142:37727/connect/token" | 
 |  |  |     userinfo_url: "http://172.20.111.142:37727/connect/userinfo" | 
 |  |  |     redirect_uri: "http://172.20.111.142:8096/sso/callback" | 
 |  |  |   state: "smartor"  # 你们系统标识 | 
 |  |  |   scope: "openid roles profile" | 
 |  |  |  | 
 |  |  |  | 
 |  |  | #钉钉的密钥 | 
 |  |  | dingAppid: dingn8iip5ubj7clrrsv | 
 |  |  | 
 |  |  | #admin管理员userId | 
 |  |  | isAdmin: 1,2,3,4,5,6,7,8,9,10,11,12,13 | 
 |  |  |  | 
 |  |  | #随访医院:1新华   2丽水 | 
 |  |  | visitHosp: 2 | 
 |  |  | #处理投诉建议的部门编码 | 
 |  |  | dealDeptCode: | 
 |  |  |  | 
 |  |  | #是否加密  0不加   1加密 | 
 |  |  | isEncryp: 0 |