application.yaml 870 字节
Newer Older
Q
qinyingjie 已提交
1 2
server:
  port: 8761
Q
qinyingjie 已提交
3 4

swagger:
Q
qinyingjie 已提交
5 6
  enable: true

Q
qinyingjie 已提交
7
#兼容swagger配置
Q
qinyingjie 已提交
8 9 10
spring:
  mvc:
    pathmatch:
Q
qinyingjie 已提交
11 12 13 14
      matching-strategy: ant_path_matcher
  # mysql
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
Q
qinyingjie 已提交
15
    url: jdbc:mysql://120.79.36.53:3306/kwan?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
Q
qinyingjie 已提交
16
    username: root
Q
qinyingjie 已提交
17
    password: 15671628341Qwe.
Q
qinyingjie 已提交
18 19

#mybatis-plus配置
Q
qinyingjie 已提交
20 21
mybatis-plus:
  configuration:
Q
qinyingjie 已提交
22 23 24
    map-underscore-to-camel-case: true
    call-setters-on-nulls: true
    auto-mapping-behavior: full
Q
qinyingjie 已提交
25
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
Q
qinyingjie 已提交
26 27 28 29 30 31 32 33 34 35
  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