springboot实现简单web项目(一)

口水娃V字脆香辣牛肉多味组散装妙脆角炒货批发膨化小吃零食 【在售价】14.90 元 【券后价】9.90元 ----------------- 【立即下单】复制$xv2HcZG1jMp$打开手机淘宝立即下单

配置yml文件

server:
  port: 8887

spring:
  http:
    encoding:
      charset: UTF-8
      enabled: true
      force: true
  #mvc:
#    view:
#      prefix: /
#      suffix: .html
  thymeleaf:
    encoding: UTF-8
    cache: false
    mode: HTML5
    prefix: classpath:/templates/
    suffix: .html
    enabled: true
  mvc:
    static-path-pattern: /**
    #throw-exception-if-no-handler-found: true
    #favicon:
      #enabled: false
  resources:
    static-locations: classpath:/static/
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/exam?useUnicode=true&characterEncoding=utf-8
    username: root
    password: root
  freemarker:
    suffix: .html
mybatis:
  mapper-locations: classpath:mapper/**/*.xml
  configuration:
    map-underscore-to-camel-case: true
logging:
  level:
    com.example.myexam.mapper: debug
栏目
榴芒一刻榴莲泡泡网红大福零食雪媚娘日本糯米糍榴莲麻薯甜品糕点 【在售价】138.00 元 【券后价】88.00元 ----------------- 【立即领券】复制$MYw6cZGNPHS$打开手机淘宝领券并下单