|
@@ -60,14 +60,10 @@ public class SameUrlDataInterceptor extends RepeatSubmitInterceptor
|
|
|
String url = request.getRequestURI();
|
|
|
|
|
|
|
|
|
- String submitKey = request.getHeader(header);
|
|
|
- if (StringUtils.isEmpty(submitKey))
|
|
|
- {
|
|
|
- submitKey = url;
|
|
|
- }
|
|
|
+ String submitKey = StringUtils.trimToEmpty(request.getHeader(header));
|
|
|
|
|
|
-
|
|
|
- String cacheRepeatKey = Constants.REPEAT_SUBMIT_KEY + submitKey;
|
|
|
+
|
|
|
+ String cacheRepeatKey = Constants.REPEAT_SUBMIT_KEY + url + submitKey;
|
|
|
|
|
|
Object sessionObj = redisCache.getCacheObject(cacheRepeatKey);
|
|
|
if (sessionObj != null)
|