#端口号 server: port: 9100 #兼容swagger配置 spring: # mysql datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai username: root password: 716288qwe application: name: goods-service #服务名称 #服务提供者 eureka: client: service-url: defaultZone: http://localhost:8766/eureka management: endpoints: web: base-path: /actuator #修改访问路径 2.0之前默认是/ 2.0默认是 /actuator 可以通过这个属性值修改 health: show-details: always #显示健康具体信息 默认不会显示详细信息 #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 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