springboot:xml配置信息

spring:

数据库信息

datasource:
url: jdbc:mysql://localhost:3306/viewsite?serverTimezone=GMT%2B8&characterEncoding=utf8
username: xxx#账号
password: xxx #密码
driver-class-name: com.mysql.cj.jdbc.Driver #驱动

mvc:
favicon:
enabled=false
thymeleaf:
cache: false

mail:
host: smtp.163.com
port: 465
username: xxx
password: LBRPKCZUGUUGXOLE
default-encoding: UTF-8
properties:
mail:
smtp:
socketFactory:
class: javax.net.ssl.SSLSocketFactory
debug: true

servlet:
multipart:
max-file-size: 100MB
max-request-size: 100MB

redis:

host: localhsot

post: 6379

my-oss:
ENDPOINT:
xxx
ACCESS_KEY_Id: LTAI5tBeG7z1u8hK4m1zKyTs
ACCESS_KEY_SECRET: xxx
BUCKET_NAME: myvideo-shanghai
#自定义用户临时存放视频及图片的文件夹
my-video-path:
MYPATH: “D:\videoSite\”

mybatis:
mapper-locations: classpath*:mapper/*.xml
configuration:
#关闭驼峰命名,但是mybatis-plus无效 还是要改字段或属性名
map-underscore-to-camel-case: false

server:
port: 8080

你可能感兴趣的:(配置信息,xml,mybatis,java)