Browse Source

:bug: fix

lag 6 months ago
parent
commit
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();
     long currentTime = System.currentTimeMillis();
     if (currentTime - vo.getLastTime() > vo.getFrequencyTime()) {
     if (currentTime - vo.getLastTime() > vo.getFrequencyTime()) {
       vo.setLastTime(currentTime);
       vo.setLastTime(currentTime);
+      vo.setLockLimits(0);
       dataShareServiceNewService.setNewLastRequestTime(vo);
       dataShareServiceNewService.setNewLastRequestTime(vo);
       return true;
       return true;
     }
     }