From d484aa599bc19be44495bee0839dc2080c6ba4a0 Mon Sep 17 00:00:00 2001
From: tsukiyalo <2450026988@qq.com>
Date: Wed, 6 Nov 2024 18:26:43 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E9=A1=B9=E7=9B=AE=E4=B8=AD=E8=BF=9E?=
=?UTF-8?q?=E5=85=A5easyExcel=E7=9A=84=E4=BE=9D=E8=B5=96=20=E5=88=9D?=
=?UTF-8?q?=E6=AD=A5=E5=86=99=E5=87=BAesayExcel=E7=9A=84demo=20=E6=B5=8B?=
=?UTF-8?q?=E8=AF=95=E4=BA=86=E7=BB=9F=E8=AE=A1=E6=95=B0=E7=9B=AE=E8=AE=A2?=
=?UTF-8?q?=E5=8D=95=E7=9A=84=E6=8E=A5=E5=8F=A3=20=E7=BC=96=E5=86=99?=
=?UTF-8?q?=E5=AE=9E=E7=8E=B0=E4=B8=A4=E4=BA=BA=E5=AE=9E=E6=97=B6=E8=81=8A?=
=?UTF-8?q?=E5=A4=A9=E7=9A=84demo=E9=A1=B9=E7=9B=AE=20=E5=88=9D=E6=AD=A5?=
=?UTF-8?q?=E5=86=99=E5=87=BA=E5=9C=A8=E4=B8=80=E6=AE=B5=E6=97=B6=E9=97=B4?=
=?UTF-8?q?=E5=86=85=E8=AE=A2=E5=8D=95=E7=9A=84=E6=95=B0=E7=9B=AE=E7=BB=9F?=
=?UTF-8?q?=E8=AE=A1=E7=9A=84demo=20=E5=AE=8C=E6=88=90=E4=BA=86=E8=AE=A2?=
=?UTF-8?q?=E5=8D=95=E6=95=B0=E7=9B=AE=E7=BB=9F=E8=AE=A1=E7=9A=84=E6=8E=A5?=
=?UTF-8?q?=E5=8F=A3=20=E4=BC=98=E5=8C=96=E6=96=87=E4=BB=B6=E4=B8=8A?=
=?UTF-8?q?=E4=BC=A0=E6=8E=A5=E5=8F=A3=20=E4=BC=98=E5=8C=96=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E7=AB=AF=E7=99=BB=E5=BD=95=E6=8E=A5=E5=8F=A3=20?=
=?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E5=88=9B=E5=BB=BA=E4=BA=A4=E6=98=93?=
=?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=9A=84=E6=8E=A5=E5=8F=A3=20=E4=BF=AE?=
=?UTF-8?q?=E5=A4=8D=E4=BA=86=E5=9C=A8=E5=90=8C=E5=9F=9F=E4=B8=8BSession?=
=?UTF-8?q?=E6=8E=A5=E6=94=B6=E4=B8=8D=E5=88=B0=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
school_lend_back_end/pom.xml | 10 ++++++++++
.../src/main/resources/application.yml | 4 ++++
2 files changed, 14 insertions(+)
diff --git a/school_lend_back_end/pom.xml b/school_lend_back_end/pom.xml
index 677ef1d..78315ee 100644
--- a/school_lend_back_end/pom.xml
+++ b/school_lend_back_end/pom.xml
@@ -105,6 +105,16 @@
lombok
1.18.30
+
+
+
+ org.springframework.boot
+ spring-boot-starter-data-redis
+
+
+ org.springframework.session
+ spring-session-data-redis
+
diff --git a/school_lend_back_end/src/main/resources/application.yml b/school_lend_back_end/src/main/resources/application.yml
index 554ab35..afe1def 100644
--- a/school_lend_back_end/src/main/resources/application.yml
+++ b/school_lend_back_end/src/main/resources/application.yml
@@ -29,6 +29,10 @@ server:
port: 9999
servlet:
context-path: /api
+ session:
+ cookie.sameSite: None
+ cookie.secure: true
+ cookie.httpOnly: true
mybatis-plus:
configuration:
map-underscore-to-camel-case: false