spring: dubbo: server: true registry: zookeeper://127.0.0.1:2181 protocol: port: -1 application: qosEnable: false version: 1.0.0 provider: timeout: 30000 datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.cj.jdbc.Driver druid: url: jdbc:mysql://124.70.158.102:3306/echepei_base?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false username: root password: echepei1703 initial-size: 10 max-active: 100 min-idle: 10 max-wait: 60000 pool-prepared-statements: true max-pool-prepared-statement-per-connection-size: 20 time-between-eviction-runs-millis: 60000 min-evictable-idle-time-millis: 300000 #validation-query: SELECT 1 FROM DUAL test-while-idle: true test-on-borrow: false test-on-return: false stat-view-servlet: enabled: true url-pattern: /druid/* login-username: admin login-password: admin filter: stat: log-slow-sql: true slow-sql-millis: 1000 merge-sql: true wall: config: multi-statement-allow: true # driverClassName: com.mysql.jdbc.Driver # url: jdbc:mysql://47.95.211.129:3306/pzmall?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false # username: pzmall # password: pzmall # #连接池的配置信息 # initialSize: 10 # minIdle: 10 # maxActive: 100 # maxWait: 60000 # timeBetweenEvictionRunsMillis: 60000 # minEvictableIdleTimeMillis: 300000 # validationQuery: SELECT 1 FROM DUAL # testWhileIdle: true # testOnBorrow: false # testOnReturn: false # poolPreparedStatements: true # maxPoolPreparedStatementPerConnectionSize: 20 #mybatis mybatis-plus: mapper-locations: classpath:/mybatis/**/*.xml #实体扫描,多个package用逗号或者分号分隔 typeAliasesPackage: io.platform.*.biz.entity global-config: #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; id-type: 0 #字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断" field-strategy: 2 #驼峰下划线转换 db-column-underline: true #刷新mapper 调试神器 refresh-mapper: true #数据库大写下划线转换 capital-mode: true #序列接口实现类配置 #key-generator: com.baomidou.springboot.xxx #逻辑删除配置 #logic-delete-value: 0 #logic-not-delete-value: 1 #自定义填充策略接口实现 #meta-object-handler: com.baomidou.springboot.xxx #自定义SQL注入器 #sql-injector: com.king.security.mybatis.interceptor.DataSecurityInterceptor configuration: map-underscore-to-camel-case: true cache-enabled: false #logging logging: org.springframework.web: info org.springboot : info io.platform : debug com.alibaba : info com.baomidou: info log: path: log/ level: debug