From 0acb4b05646b3990c61415df568c87c17cfd7677 Mon Sep 17 00:00:00 2001 From: yangf Date: Sun, 10 Sep 2023 15:44:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0json=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-druid.yml | 2 +- .../src/main/resources/application.yml | 4 +-- ruoyi-admin/src/main/resources/logback.xml | 2 +- .../src/main/resources/templates/login.html | 2 +- .../templates/monitor/cache/cache.html | 32 +++++++++++++------ .../filter/captcha/CaptchaValidateFilter.java | 2 +- 6 files changed, 29 insertions(+), 15 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index a69d8feb2..9423adfa2 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -8,7 +8,7 @@ spring: master: url: jdbc:mysql://localhost:3306/ry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: password + password: 123456 # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 9b21a51c5..81142eb9e 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -16,7 +16,7 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为80 - port: 80 + port: 8090 servlet: # 应用的访问路径 context-path: / @@ -98,7 +98,7 @@ shiro: # 首页地址 indexUrl: /index # 验证码开关 - captchaEnabled: true + captchaEnabled: false # 验证码类型 math 数字计算 char 字符验证 captchaType: math cookie: diff --git a/ruoyi-admin/src/main/resources/logback.xml b/ruoyi-admin/src/main/resources/logback.xml index d69a57207..e7e54c453 100644 --- a/ruoyi-admin/src/main/resources/logback.xml +++ b/ruoyi-admin/src/main/resources/logback.xml @@ -1,7 +1,7 @@ - + diff --git a/ruoyi-admin/src/main/resources/templates/login.html b/ruoyi-admin/src/main/resources/templates/login.html index 949a4dc8c..27eaac994 100644 --- a/ruoyi-admin/src/main/resources/templates/login.html +++ b/ruoyi-admin/src/main/resources/templates/login.html @@ -45,7 +45,7 @@

登录:

你若不离不弃,我必生死相依

- +
diff --git a/ruoyi-admin/src/main/resources/templates/monitor/cache/cache.html b/ruoyi-admin/src/main/resources/templates/monitor/cache/cache.html index 94fa24e69..593f31807 100644 --- a/ruoyi-admin/src/main/resources/templates/monitor/cache/cache.html +++ b/ruoyi-admin/src/main/resources/templates/monitor/cache/cache.html @@ -78,15 +78,15 @@
- +
- +
- +
@@ -100,6 +100,7 @@ diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/shiro/web/filter/captcha/CaptchaValidateFilter.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/shiro/web/filter/captcha/CaptchaValidateFilter.java index 40939e91c..34b936070 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/shiro/web/filter/captcha/CaptchaValidateFilter.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/shiro/web/filter/captcha/CaptchaValidateFilter.java @@ -19,7 +19,7 @@ public class CaptchaValidateFilter extends AccessControlFilter /** * 是否开启验证码 */ - private boolean captchaEnabled = true; + private boolean captchaEnabled = false; /** * 验证码类型