server: port: 8888 mysql: ip: 127.0.0.1 port: 3306 database: zy_rcs1 username: root password: xltys1995 redis: host: 127.0.0.1 password: xltys1995 port: 6379 max: 30 min: 10 timeout: 5000 index: 3 spring: application: name: @pom.artifactId@ mvc: static-path-pattern: /** datasource: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://${mysql.ip}:${mysql.port}/${mysql.database}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai username: ${mysql.username} password: ${mysql.password} type: com.alibaba.druid.pool.DruidDataSource druid: initial-size: 5 min-idle: 5 max-active: 20 max-wait: 30000 time-between-eviction-runs-millis: 60000 min-evictable-idle-time-millis: 300000 test-while-idle: true test-on-borrow: true test-on-return: false remove-abandoned: true remove-abandoned-timeout: 1800 #pool-prepared-statements: false #max-pool-prepared-statement-per-connection-size: 20 filters: stat, wall validation-query: SELECT 'x' aop-patterns: com.zy.*.*.service.* stat-view-servlet: url-pattern: /druid/* reset-enable: true login-username: admin login-password: admin servlet: multipart: maxFileSize: 100MB maxRequestSize: 100MB jmx: enabled: false mybatis-plus: mapper-locations: classpath:mapper/*.xml # global-config: # field-strategy: 0 configuration: # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl map-underscore-to-camel-case: true cache-enabled: true global-config: :banner: false db-config: id-type: auto logic-delete-value: 1 logic-not-delete-value: 0 logging: file: path: stock/out/@pom.artifactId@/logs