server: port: 8082 spring: application: name: costAccount datasource: druid: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://112.124.59.133:3306/cost_account?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # url: jdbc:mysql://127.0.0.1:3306/cost_account?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai username: root password: xywl2021#@! initial-size: 10 max-active: 100 min-idle: 10 max-wait: 600000 pool-prepared-statements: true max-pool-prepared-statement-per-connection-size: 20 time-between-eviction-runs-millis: 60000 min-evictable-idle-time-millis: 300000 type: com.alibaba.druid.pool.DruidDataSource jackson: date-format: yyyy-MM-dd hh:mm:ss time-zone: GMT+8 # default-property-inclusion: non_null #redis redis: port: 6379 host: 112.124.59.133 password: xywl2021! jedis: pool: max-active: 30 max-idle: 10 max-wait: -1 min-idle: 0 mybatis-plus: mapper-locations: classpath*:/mapper/*.xml type-aliases-package: com.imed.costaccount.model configuration: log-impl: org.apache.ibatis.logging.stdout.StdOutImpl global-config: db-config: id-type: auto logic-not-delete-value: 0 logic-delete-value: UNIX_TIMESTAMP(NOW()) * 1000 banner: false #日志 # log config logging: config: classpath:log4j2.xml level: io.swagger.models.parameters.AbstractSerializableParameter: error ####本地文件相关配置 file: #Windows # filelocal: file:D:\\file\\ #linux filelocal: file:/image/ #linux # serverPath: /image #windows serverPath: D://file #local # serverUrl: http://112.124.59.133:8082// #linux serverUrl: http://112.124.59.133:8082/