Merge branch 'master' of https://gitee.com/y_project/RuoYi-Vue into dev

 Conflicts:
	ruoyi-common/src/main/java/com/ruoyi/common/annotation/Excel.java
	ruoyi-common/src/main/java/com/ruoyi/common/annotation/RepeatSubmit.java
	ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtil.java
	ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/DataSourceAspect.java
	ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/LogAspect.java
	ruoyi-framework/src/main/java/com/ruoyi/framework/aspectj/RateLimiterAspect.java
	ruoyi-framework/src/main/java/com/ruoyi/framework/interceptor/RepeatSubmitInterceptor.java
	ruoyi-framework/src/main/java/com/ruoyi/framework/interceptor/impl/SameUrlDataInterceptor.java
feature/model
疯狂的狮子li 3 years ago
commit 76bf987203

@ -20,10 +20,15 @@ import java.util.concurrent.TimeUnit;
public @interface RepeatSubmit {
/**
* 使
* (ms)
*/
int intervalTime() default 0;
int interval() default 5000;
TimeUnit timeUnit() default TimeUnit.MILLISECONDS;
/**
*
*/
String message() default "不允许重复提交,请稍后再试";
}

@ -0,0 +1,19 @@
package com.ruoyi.common.utils.poi;
/**
* Excel
*
* @author ruoyi
*/
public interface ExcelHandlerAdapter
{
/**
*
*
* @param value
* @param args excelargs
*
* @return
*/
Object format(Object value, String[] args);
}

@ -146,7 +146,11 @@ public class LogAspect {
if (paramsArray != null && paramsArray.length > 0) {
for (Object o : paramsArray) {
if (StringUtils.isNotNull(o) && !isFilterObject(o)) {
params.append(JsonUtils.toJsonString(o)).append(" ");
try {
params.append(JsonUtils.toJsonString(o)).append(" ");
} catch (Exception e) {
e.printStackTrace();
}
}
}
}

@ -62,5 +62,4 @@ public class RateLimiterAspect {
stringBuffer.append(targetClass.getName()).append("-").append(method.getName());
return stringBuffer.toString();
}
}

Loading…
Cancel
Save