#系统类型:1(普通,无限制),2(严格-gw标准),3(严格-签名) system: type: 1 #服务端口号 server: port: 8081 serverHeader: servlet: context-path: /br session: cookie: name: br http-only: true tomcat: max-http-form-post-size: 102400000 http: port: -1 #数据库 spring: datasource: dynamic: primary: master # 默认使用mater库 strict: false # 不使用严格模式 datasource: master: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.highgo.jdbc.Driver # url: jdbc:dm://localhost:5236/SYSDBA?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8 url: jdbc:highgo://192.168.10.183:5866/highgo?rewriteBatchedStatements=true&zeroDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8 username: sysdba password: Lmx&8688139 db2: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: org.sqlite.JDBC url: jdbc:sqlite:E:\2软件下载包\easydarwin\EasyDarwin-windows-8.2.2-24031216\data\db\EasyDarwin.db?date_string_format=yyyy-MM-dd HH:mm:ss # url: jdbc:sqlite:\2软件下载包\easydarwin\EasyDarwin-windows-8.2.2-24031216\data\db\EasyDarwin.db?date_string_format=yyyy-MM-dd HH:mm:ss maxIdel: 60 initialPoolSize: 2 minPoolSize: 5 maxPoolSize: 500 servlet: multipart: max-file-size: 200MB max-request-size: 200MB mybatis-plus: typeAliasesPackage: com.whyc.pojo,com.whyc.dto mapper-locations: classpath:mapper/**/*Mapper.xml global-config: db-config: #主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID"; id-type: AUTO #驼峰下划线转换 table-underline: true #数据库大写下划线转换 capital-mode: true #mp2.3+ 全局表前缀 tb_ table-prefix: tb_ #刷新mapper 调试神器 # refresh-mapper: true configuration: #配置返回数据库(column下划线命名&&返回java实体是驼峰命名),自动匹配无需as(没开启这个,SQL需要写as: select user_id as userId) map-underscore-to-camel-case: true cache-enabled: false #mybatis日志输出 log-impl: org.apache.ibatis.logging.stdout.StdOutImpl knife: enable: true configFile: type: 1 #1:本地测试;2:打包jar snmp: version: 1 # address: 10.34.245.2/161 address: 192.168.10.80/161 community: public retries: 1 timeout: 5000