server: port: 8082 serlvet: context-path:/inferenceGame #设置当前服务名 spring: application: #注册到注册中心的服务名 name: inference-game datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/inference_game_1?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC username: root password: admin!@#$ type: com.alibaba.druid.pool.DruidDataSource druid: initial-size: 5 min-idle: 5 max-active: 20 max-wait: 60000 #配置间隔多久才进行一次检测,检测需要关闭的空闲连接 time-between-eviction-runs-millis: 20000 #配置一个连接在池中最小生存的时间 min-evictable-idle-time-millis: 300000 servlet: multipart: max-file-size: 1GB #文件最大大小 max-request-size: 1GB #文件请求大小 #location: /tmp/pimport #文件存储路径 mybatis-plus: mapper-locations: classpath:com.qiwu.inference.dao/*.xml global-config: db-config: id-type: auto configuration: auto-mapping-behavior: partial map-underscore-to-camel-case: true log-impl: org.apache.ibatis.logging.stdout.StdOutImpl logging: level: root: info com.qiwu.inference: debug