Explorar o código

add 增加 重复提交 配置属性类

疯狂的狮子li %!s(int64=3) %!d(string=hai) anos
pai
achega
946242e8f1

+ 22 - 0
ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/RepeatSubmitProperties.java

@@ -0,0 +1,22 @@
+package com.ruoyi.framework.config.properties;
+
+import lombok.Data;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import org.springframework.stereotype.Component;
+
+/**
+ * 重复提交 配置属性
+ *
+ * @author Lion Li
+ */
+@Data
+@Component
+@ConfigurationProperties(prefix = "repeat-submit")
+public class RepeatSubmitProperties {
+
+    /**
+     * 间隔时间(毫秒)
+     */
+    private int intervalTime;
+
+}