target/classes/application.yml

(完整代码) 947B

server:
  port: 8082
spring:
  profiles:
    # 外置jdbc配置文件
    active: jdbc
    # 关闭thymeleaf页面缓存
  thymeleaf:
    cache: false
    prefix: classpath:/templates/
    suffix: .html
    encoding: UTF-8
    servlet:
      content-type: text/html
  # 关闭默认生成图标
  mvc:
    contentnegotiation:
      favor-parameter: false
  # 日期转换
    date-format: yyyy-MM-dd
# mybatis-plus 配置 跟mybatis一样
mybatis-plus:
  configuration:
    # 配置日志
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
    #开启驼峰命名匹配映射
    map-underscore-to-camel-case: true
  #配置MyBatis的xml映射文件路径
  mapper-locations: classpath:mapper/*.xml
  #配置XML映射文件中指定的实体类别名路径
  type-aliases-package: com.gxuwz.jyd.pojo
# pagehelper分页设置
pagehelper:
  helper-dialect: mysql
  reasonable: true
  support-methods-arguments: true
  params: count=countSql

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。