From d3a8dcbcde359eebff1045ba78d61130a5da9f84 Mon Sep 17 00:00:00 2001 From: guo <1716967236@qq.com> Date: Sun, 26 Oct 2025 12:27:53 +0800 Subject: [PATCH] =?UTF-8?q?feat(N/A):=20=E4=BF=AE=E6=94=B9dev=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E7=9A=84=20=E7=AB=AF=E5=8F=A3=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=EF=BC=8C=E5=A2=9E=E5=8A=A0uat=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application-dev.yml | 2 +- src/main/resources/application-uat.yml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/application-uat.yml diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index a2104b5..35def61 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -6,7 +6,7 @@ spring: username: root password: GUOxy5157 server: - port: 5157 + port: 5155 cors: allowed-origins: diff --git a/src/main/resources/application-uat.yml b/src/main/resources/application-uat.yml new file mode 100644 index 0000000..3e28ea1 --- /dev/null +++ b/src/main/resources/application-uat.yml @@ -0,0 +1,17 @@ +spring: + # 配置数据库 + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://mysql8:3306/learning_progress_tracker?allowPublicKeyRetrieval=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2B8 + username: root + password: GUOxy5157 +server: + port: 5156 + +cors: + allowed-origins: + - '*' + +sa-token: + cookie: + secure: true