lag 6 месяцев назад
Родитель
Сommit
bcb9f72f43

+ 1 - 0
ghjg-item-datashare-server/src/main/java/com/shanghaichengdi/ghjgitem/config/FrequencyLimitInterceptor.java

@@ -81,6 +81,7 @@ public class FrequencyLimitInterceptor implements HandlerInterceptor {
     long currentTime = System.currentTimeMillis();
     if (currentTime - vo.getLastTime() > vo.getFrequencyTime()) {
       vo.setLastTime(currentTime);
+      vo.setLockLimits(0);
       dataShareServiceNewService.setNewLastRequestTime(vo);
       return true;
     }