diff --git a/tlias-web-management/src/main/resources/application.yml b/tlias-web-management/src/main/resources/application.yml new file mode 100644 index 0000000..0f36e23 --- /dev/null +++ b/tlias-web-management/src/main/resources/application.yml @@ -0,0 +1,31 @@ +server: + port: 8080 +#mybatis连接数据源的配置 +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/tlias2 + username: root + password: 1234 + servlet: + multipart: + max-file-size: 10MB + max-request-size: 100MB + + +mybatis: + configuration: + map-underscore-to-camel-case: true #mybatis驼峰自动映射 + log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #日志打印到控制台 +#阿里云OSS文件上传配置 +aliyun: + oss: + endpoint: https://oss-cn-hangzhou.aliyuncs.com + bucketName: inmind-test1 + region: cn-hangzhou + + +#spring事务管理日志 +logging: + level: + org.springframework.jdbc.support.JdbcTransactionManager: debug \ No newline at end of file