From 2fa7f761cf80802f54f727381b282d3b264501a7 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 08 十月 2026 11:11:26 +0800
Subject: [PATCH] 提交最新代码
---
ruoyi-admin/src/main/resources/application-test.yml | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/application-test.yml b/ruoyi-admin/src/main/resources/application-test.yml
index e5ba565..e5cfc22 100644
--- a/ruoyi-admin/src/main/resources/application-test.yml
+++ b/ruoyi-admin/src/main/resources/application-test.yml
@@ -19,6 +19,10 @@
# 服务器的HTTP端口,默认为8080
port: 11221
servlet:
+ encoding:
+ charset: UTF-8
+ enabled: true
+ force: true
# 应用的访问路径
context-path: /
tomcat:
@@ -75,7 +79,7 @@
# 数据库索引
database: 0
# 密码
- password: 123456
+ password:
# 连接超时时间
timeout: 10s
lettuce:
@@ -95,9 +99,9 @@
druid:
# 主库数据源
master:
- url: jdbc:mysql://127.0.0.1:3306/laboratory?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai
+ url: jdbc:mysql://127.0.0.1:3399/laboratory?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai
username: root
- password: 123456
+ password: qwe123
# 从库数据源
slave:
# 从数据源开关/默认关闭
@@ -155,7 +159,7 @@
# 令牌密钥
secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期(默认30分钟)
- expireTime: 120
+ expireTime: 99999
mybatis-plus:
# 此处在多数据源中生效
--
Gitblit v1.7.1