编写mvc基础代码添加ResponseMessage编写Message关键字

This commit is contained in:
qingfeng1121
2025-10-09 12:12:42 +08:00
parent 1d4dee573e
commit 6841ba67f1
13 changed files with 282 additions and 157 deletions

View File

@@ -1,10 +1,13 @@
# 应用服务 WEB 访问端口
server.port=8080
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.url=jdbc:mysql://localhost:3306/webporject
spring.datasource.username=root
spring.datasource.password=123456
server.port=8080
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.show-sql=true
spring.jpa.properties.hibernate.format_sql=true
#下面这些内容是为了让MyBatis映射
#指定Mybatis的Mapper文件
mybatis.mapper-locations=classpath:mappers/*xml