biz.yaml 765 Bytes
Newer Older
1 2 3
spring:
  # 数据源配置项
  datasource:
4
    url: jdbc:mysql://s1.iocoder.cn:3306/mall_order?useSSL=false&useUnicode=true&characterEncoding=UTF-8
5 6 7 8
    driver-class-name: com.mysql.jdbc.Driver
    username: root
    password: 3WLiVUBEwTbvAfsh

9 10 11 12 13 14
  #mongodb
  data:
    mongodb:
      uri: mongodb://localhost/order-comment


15 16 17 18 19 20 21 22 23 24
# MyBatis Plus 配置项
mybatis-plus:
  configuration:
    map-underscore-to-camel-case: true # 虽然默认为 true ,但是还是显示去指定下。
  global-config:
    db-config:
      id-type: auto
      logic-delete-value: 1 # 逻辑已删除值(默认为 1)
      logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
  mapper-locations: classpath*:mapper/*.xml
25
  type-aliases-package: cn.iocoder.mall.order.biz.dataobject