From 51ca748038e768f52f9e2d7437cf5b1fc3b31f45 Mon Sep 17 00:00:00 2001 From: tianyuan <2861334240@qq.com> Date: Sun, 7 Dec 2025 12:47:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=AE=E6=94=B92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index e9e6d7b..06dfbac 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -11,8 +11,8 @@ jwt: spring: main: allow-bean-definition-overriding: true # 缩进在 spring 下,作为子配置 - # 数据库配置 - datasource: + # 数据库配置 + datasource: url: jdbc:mysql://120.46.151.248:3306/campus_water_management?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true username: member password: Hdp11008@ @@ -35,5 +35,5 @@ server: encoding: charset: UTF-8 enabled: true - force: true # 移除末尾多余的 zs + force: true port: 8080 \ No newline at end of file -- 2.34.1