diff --git a/tlias-web/src/main/resources/application.yml b/tlias-web/src/main/resources/application.yml new file mode 100644 index 0000000..cebbac6 --- /dev/null +++ b/tlias-web/src/main/resources/application.yml @@ -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 \ No newline at end of file diff --git a/tlias-web/src/main/resources/application.properties b/tlias-web/src/main/resources/application111.properties similarity index 100% rename from tlias-web/src/main/resources/application.properties rename to tlias-web/src/main/resources/application111.properties