server: port: 8080 servlet: encoding: force: true charset: UTF-8 enabled: true #兼容swagger配置 spring: profiles: active: local application: name: spring-boot-name #项目启动时创建数据表的 SQL 脚本,该脚本由 Spring Batch 提供 #spring.datasource.schema=classpath:/org/springframework/batch/core/schema-mysql.sql # 在项目启动时执行建表 SQL batch: initialize-schema: always # 禁止 Spring Batch 自动执行,在 SpringBoot 中,默认情况,当项目启动时就会执行配置好的批理操作,添加了该配置后则不会自动执行,而需要用户手动触发执行 job: enabled: false mvc: pathmatch: matching-strategy: ant_path_matcher #seata: # tx-service-group: default_tx_group #seata: # application-id: spring-boot-name # tx-service-group: my-tx-group # service: # vgroup-mapping: # my-tx-group: seata-server # grouplist: # seata-server: 127.0.0.1:8091 # enabled: true #mybatis-plus配置 mybatis-plus: configuration: map-underscore-to-camel-case: true call-setters-on-nulls: true auto-mapping-behavior: full # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl #关闭sql日志 mapper-locations: classpath*:mapper/**/*Mapper.xml global-config: banner: false # 逻辑删除配置 db-config: id-type: AUTO logic-delete-field: delFlag logic-delete-value: 1 logic-not-delete-value: 0 table-underline: true #logger配置 logging: config: classpath:logback-spring.xml