From 340c0982ed8f65079a24f3b516a3534c2378fc9c Mon Sep 17 00:00:00 2001 From: xuxin <840198532@qq.com> Date: Sun, 7 Dec 2025 16:09:14 +0800 Subject: [PATCH] =?UTF-8?q?tlias=E7=AE=A1=E7=90=86=E7=B3=BB=E7=BB=9F--?= =?UTF-8?q?=E4=BA=8B=E5=8A=A1=E7=AE=A1=E7=90=86-=E4=BA=8B=E5=8A=A1?= =?UTF-8?q?=E8=BF=9B=E9=98=B6-=E4=BA=8B=E5=8A=A1=E4=BC=A0=E6=92=AD?= =?UTF-8?q?=E8=A1=8C=E4=B8=BA-propagation=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tlias-web-management/src/main/resources/application.yml 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