Compare commits
No commits in common. "c352272e7a41d20f95f79f2bd0b71378f9334e76" and "4c87af4adf10e603bbcce8490169a6dab4ecbb95" have entirely different histories.
c352272e7a
...
4c87af4adf
|
|
@ -23,7 +23,11 @@ import java.util.Map;
|
|||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* 防止表单重复提交处理
|
||||
* @Description: 防止表单重复提交处理
|
||||
* @Author: jiang chao
|
||||
* @Time: 2023/6/15 9:24
|
||||
* @Classname: RepeatSubmitOldAspectAdvice
|
||||
* @PackageName: com.hzs.common.core.aspect
|
||||
*/
|
||||
@Slf4j
|
||||
@Aspect
|
||||
|
|
@ -63,7 +67,7 @@ public class RepeatSubmitSimpleAspectAdvice {
|
|||
|
||||
Map<String, Object> nowDataMap = new HashMap<>();
|
||||
nowDataMap.put(REPEAT_PARAMS, nowParams);
|
||||
nowDataMap.put(REPEAT_TIME, System.currentTimeMillis() / 1000);
|
||||
nowDataMap.put(REPEAT_TIME, System.currentTimeMillis());
|
||||
|
||||
// 请求地址(作为存放cache的key值)
|
||||
String url = request.getRequestURI();
|
||||
|
|
|
|||
Loading…
Reference in New Issue