spring: application: name: springboot-init profiles: active: dev datasource: driver-class-name: org.postgresql.Driver url: jdbc:postgresql://localhost:5432/postgres username: root password: 123asd mvc: pathmatch: matching-strategy: ANT_PATH_MATCHER # session 失效时间(分钟) session: timeout: 86400 store-type: redis # redis 配置 redis: port: 6379 host: localhost database: 0 server: port: 7529 servlet: context-path: /api mybatis-plus: configuration: map-underscore-to-camel-case: false log-impl: org.apache.ibatis.logging.log4j2.Log4j2Impl global-config: db-config: logic-delete-field: isDelete # 全局逻辑删除的实体字段名(since 3.3.0,配置后可以忽略不配置步骤2) logic-delete-value: 1 # 逻辑已删除值(默认为 1) logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)