#服务器端口 server: port: 8200 #oss配置 oss: endpoint: "${hzinfo.oss.endpoint}" access-key: "${hzinfo.oss.access-key}" secret-key: "${hzinfo.oss.secret-key}" #数据源配置 spring: #排除DruidDataSourceAutoConfigure autoconfigure: exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure datasource: dynamic: #设置默认的数据源或者数据源组,默认值即为master primary: master datasource: master: url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true" username: "${hzinfo.db.busines.username}" password: "${hzinfo.db.busines.password}" slave: url: "jdbc:mysql://${hzinfo.db.busines.ip}:${hzinfo.db.busines.port}/hzims?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true" username: "${hzinfo.db.busines.username}" password: "${hzinfo.db.busines.password}" #mybatis-plus配置 mybatis-plus: mapper-locations: classpath:com/hnac/hzims/**/mapper/*Mapper.xml #实体扫描,多个package用逗号或者分号分隔 typeAliasesPackage: com.hnac.hzims.**.entity #swagger扫描路径配置 swagger: base-packages: com.hnac.hzims.safeproduct xxl: job: accessToken: '' admin: addresses: "http://${hzims.server.ip}:7009/xxl-job-admin" executor: appname: hzims-safeproduct ip: "${hzims.server.ip}" logpath: /data/applogs/xxl-job/jobhandler logretentiondays: 7 port: 28200 hzims: tenantId: 200000 #ops-push jgPushCode: ops-push safeProduct: safeTool: filePath: /data/hzims/safeProduct/pdf/file modulePath: /data/hzims/safeProduct/pdf/template/SafeToolTemplate.html sadeToolKey: hzims:safeProduct:safeToolType sms-code: aliyun-safeTool-push rehearsal: savePath: /data/hzims/safeproduct/rehearsal train: savePath: /data/hzims/safeproduct/train conference: savePath: /data/hzims/safeproduct/conference hygiene: savePath: /data/hzims/safeproduct/hygiene car: savePath: /data/hzims/safeproduct/car risk: save-path: /data/hzims/file/safeproduct/pdf