From 39384c6aadae30e115390b781b16760e385149f4 Mon Sep 17 00:00:00 2001 From: xuxin <840198532@qq.com> Date: Mon, 13 Oct 2025 15:24:18 +0800 Subject: [PATCH] =?UTF-8?q?tlias=E7=AE=A1=E7=90=86=E7=B3=BB=E7=BB=9F-?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6-@ConfigurationProperties?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=B1=BB=E5=AF=B9=E8=B1=A1=EF=BC=88=E7=A1=AC?= =?UTF-8?q?=E7=BC=96=E7=A0=81=EF=BC=89=E5=8A=9F=E8=83=BD=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/application1.properties | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tlias-web-management/src/main/resources/application1.properties diff --git a/tlias-web-management/src/main/resources/application1.properties b/tlias-web-management/src/main/resources/application1.properties new file mode 100644 index 0000000..bc76bb7 --- /dev/null +++ b/tlias-web-management/src/main/resources/application1.properties @@ -0,0 +1,31 @@ +# 应用服务 WEB 访问端口 +#server.port=8080 +#下面这些内容是为了让MyBatis映射 +#指定Mybatis的Mapper文件 +mybatis.mapper-locations=classpath:mappers/*xml +#指定Mybatis的实体目录 +mybatis.type-aliases-package=com.inmind.mybatis.entity + +#驱动类名称 +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +#数据库连接的url +spring.datasource.url=jdbc:mysql://localhost:3306/tlias1 +#连接数据库的用户名 +spring.datasource.username=root +#连接数据库的密码 +spring.datasource.password=1234 + +#输出mybatis的日志 +mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl + +#开启mybatis的驼峰命名自动映射开关,将a_time ---->aTime +mybatis.configuration.map-underscore-to-camel-case=true + +#文件上传大小配置 +spring.servlet.multipart.max-file-size= 10MB +spring.servlet.multipart.max-request-size=100MB + +#阿里云OSS配置信息 +aliyun.oss.endpoint=https://oss-cn-hangzhou.aliyuncs.com +aliyun.oss.bucketName=inmind-test1 +aliyun.oss.region=cn-hangzhou \ No newline at end of file