javaEEday10-tlias管理系统-配置文件-yml配置文件
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
server:
|
||||
port : 8080
|
||||
spring:
|
||||
application:
|
||||
name: tlias-web
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
url: jdbc:mysql://localhost:3306/tlias
|
||||
username: root
|
||||
password: 1234
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 10MB
|
||||
max-request-size: 100MB
|
||||
mybatis:
|
||||
configuration:
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
map-underscore-to-camel-case: true
|
||||
|
||||
aliyun:
|
||||
oss:
|
||||
endpoint: https://oss-cn-hangzhou.aliyuncs.com
|
||||
bucketName: inmind-test1
|
||||
region: cn-hangzhou
|
||||
|
||||
|
||||
|
||||
|
||||
#定义对象/map集合
|
||||
user:
|
||||
name: 张三
|
||||
age: 18
|
||||
password: 123456
|
||||
|
||||
|
||||
#数组/集合
|
||||
hobbys:
|
||||
- 吃饭
|
||||
- 睡觉
|
||||
- 打豆豆
|
||||
|
||||
#定义保存对象的集合
|
||||
users:
|
||||
- name: 张三
|
||||
age: 19
|
||||
id: 1
|
||||
- name: 李四
|
||||
age: 20
|
||||
id: 2
|
||||
Reference in New Issue
Block a user