From c65acd6a28e15d95459e1f835856b384eabde2a8 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子li <15040126243@163.com>
Date: 星期五, 30 七月 2021 19:10:54 +0800
Subject: [PATCH] update 重写 防重提交拦截器 支持全局与注解自定义 拦截时间配置配置 优化逻辑

---
 ruoyi-admin/src/main/resources/application.yml |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index a7a152e..95ccf20 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -9,13 +9,11 @@
   # 瀹炰緥婕旂ず寮�鍏�
   demoEnabled: true
   # 鏂囦欢璺緞
-  profile: ./ruoyi/server/uploadPath
+  profile: ./ruoyi/uploadPath
   # 鑾峰彇ip鍦板潃寮�鍏�
   addressEnabled: true
 
 captcha:
-  # 楠岃瘉鐮佸紑鍏�
-  enabled: true
   # 楠岃瘉鐮佺被鍨� math 鏁扮粍璁$畻 char 瀛楃楠岃瘉
   type: math
   # line 绾挎骞叉壈 circle 鍦嗗湀骞叉壈 shear 鎵洸骞叉壈
@@ -109,6 +107,11 @@
   # 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛�
   expireTime: 30
 
+# 閲嶅鎻愪氦
+repeat-submit:
+  # 鍏ㄥ眬闂撮殧鏃堕棿(姣)
+  intervalTime: 1000
+
 # MyBatisPlus閰嶇疆
 # https://baomidou.com/config/
 mybatis-plus:

--
Gitblit v1.9.3