yml文件配置

spring:
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/wxdd?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&useSSL=false
    driver-class-name: com.mysql.cj.jdbc.Driver
    username: root
    password: 123456
  jpa:
    show-sql: true


server:
  #打的war包名
  context-path: /sell

猜你喜欢

转载自www.cnblogs.com/gxlaqj/p/11656563.html