From 1d4dee573e44f24a662ff1c93b821a159f615776 Mon Sep 17 00:00:00 2001 From: qingfeng1121 Date: Tue, 30 Sep 2025 11:44:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 2d976fc..09ee3d4 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,10 +1,12 @@ # 应用服务 WEB 访问端口 +spring.application.name=web_project +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +spring.datasource.url=jdbc:jdbc:mysql://localhost:3306//webproject +spring.datasource.username=root +spring.datasource.password=123456 server.port=8080 - - #下面这些内容是为了让MyBatis映射 #指定Mybatis的Mapper文件 mybatis.mapper-locations=classpath:mappers/*xml #指定Mybatis的实体目录 mybatis.type-aliases-package=com.qf.myafterprojecy.mybatis.entity -