# mysql 多数据源 spring: application: # 环境 dev|prod|online profiles: active: dev # active: prod # active: test # active: online # active: test-local #redis redis: database: 0 host: 10.187.1.202 port: 6379 password: ZhongtaiRedis@103 redisson: pool: max-active: 12 min-idle: 6 jedis: pool: max-idle: 8 max-active: 8 max-wait: -1ms min-idle: 1 #security security: user: name: user password: 123 roles: admin # jackson config jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 default-property-inclusion: NON_NULL #上传文件大小 servlet: multipart: max-file-size: 500MB max-request-size: 500MB thymeleaf: cache: false #mybatis: # mapper-locations: classpath*:com/gk/firework/Mapper/mybatis/*.xml # type-aliases-package: com.gk.firework.Domain #mybatis 多数据源 mybatis-plus: # mapper-locations: classpath*:com/gk/hotwork/Mapper/mybatis/*.xml,classpath*:com/gk/hotwork/Mapper2/mybatis/*.xml mapper-locations: classpath*:com/gk/hotwork/**/*.xml type-aliases-package: com.gk.hotwork.Domain type-enums-package: com.gk.hotwork.Domain.Enum #线程池配置 threadPool: corePoolSize: 20 maxPoolSize: 20 queueCapacity: 10000 logging: level: com.gk.hotwork: info com.gk.hotwork.Mapper: error org.springframework: error org.apache.rocketmq: error location: port: 1666 #sendwarnurl-nms: http://sinanoaq.com/daping/sendWarnInfo.json #定义入库、出库、销售分表 slice: _slice1 workname: 特殊作业 workCode: TS locationUrl: http://121.239.169.28:8084/ZKYNMS locationUsername: zkynms locationPassword: 123456