From d93e44f78677dd753d6fb6fb48ad0f0ac5f2a1ff Mon Sep 17 00:00:00 2001
From: hezi66677 <847517741@qq.com>
Date: Sun, 10 Nov 2024 19:13:44 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AF=BE=E9=A2=98=E4=BB=A3=E7=A0=81=E6=8F=90?=
=?UTF-8?q?=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 30 +++++++++++++++++++++--
src/main/resources/application.properties | 24 +++++++++++++++---
src/main/resources/templates/fail.html | 4 +--
src/main/resources/templates/login.html | 20 ++++++---------
src/main/resources/templates/news.html | 2 +-
src/main/resources/templates/success.html | 2 +-
src/main/resources/templates/test.html | 12 ++++-----
7 files changed, 65 insertions(+), 29 deletions(-)
diff --git a/pom.xml b/pom.xml
index 5c0d6c4..41d5d12 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,10 +5,10 @@
org.springframework.boot
spring-boot-starter-parent
- 3.3.3
+ 3.3.4
- com.xutianle.spring
+ com.xutianle.springboot
springboot
0.0.1-SNAPSHOT
springboot
@@ -60,6 +60,32 @@
spring-boot-starter-test
test
+
+
+ mysql
+ mysql-connector-java
+ 8.0.25
+
+
+ com.baomidou
+ mybatis-plus-spring-boot3-starter
+ 3.5.7
+
+
+ com.baomidou
+ mybatis-plus-generator
+ 3.5.7
+
+
+ org.freemarker
+ freemarker
+ 2.3.31
+
+
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 3812fe2..94f41e9 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,5 +1,21 @@
spring.application.name=springboot
-server.port=8080
-spring.servlet.multipart.max-file-size=1000MB
-spring.servlet.multipart.max-request-size=10000000MB
-spring.web.resources.static-locations=classpath:/img/
\ No newline at end of file
+spring.web.resources.static-locations=classpath:/img/
+spring.servlet.multipart.max-request-size=100000MB
+spring.serviet.multipart.max-file-size=100000MB
+
+# ??????
+spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
+# ?????
+spring.datasource.name=defaultDataSource
+# ???????
+spring.datasource.url=jdbc:mysql://10.33.66.120:3306/mybatis202201020128?serverTimezone=UTC
+# ??????&???
+spring.datasource.username=202201020128
+spring.datasource.password=@hnucm1254
+#??????????MyBatis??
+#??Mybatis?Mapper??
+mybatis-plus.mapper-locations=classpath:mapper/*.xml
+#??Mybatis?????
+mybatis-plus.type-aliases-package=com.xutianle.springboot.springboot.model;
+
+logging.level.com.xutianle.springboot.springboot = debug
\ No newline at end of file
diff --git a/src/main/resources/templates/fail.html b/src/main/resources/templates/fail.html
index 74dbc8f..91c33a9 100644
--- a/src/main/resources/templates/fail.html
+++ b/src/main/resources/templates/fail.html
@@ -1,8 +1,8 @@
-
- Title
+
+ Title
登录失败
diff --git a/src/main/resources/templates/login.html b/src/main/resources/templates/login.html
index a892b9a..4b142af 100644
--- a/src/main/resources/templates/login.html
+++ b/src/main/resources/templates/login.html
@@ -1,25 +1,21 @@
-
+
Title
登录界面
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/main/resources/templates/news.html b/src/main/resources/templates/news.html
index bb5444c..ebafa1a 100644
--- a/src/main/resources/templates/news.html
+++ b/src/main/resources/templates/news.html
@@ -5,7 +5,7 @@
Title
-新闻页面
+新闻
\ No newline at end of file
diff --git a/src/main/resources/templates/success.html b/src/main/resources/templates/success.html
index d6599e7..88bf25b 100644
--- a/src/main/resources/templates/success.html
+++ b/src/main/resources/templates/success.html
@@ -5,6 +5,6 @@
Title
-上传成功
+登陆成功