diff --git a/pom.xml b/pom.xml index e1e83ea..353f6b7 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.tiesheng.springboot-parent springboot-parent - 2.0.25 + 2.0.26 pom springboot-parent 杭州铁晟科技有限公司基础依赖 @@ -58,49 +58,49 @@ com.tiesheng.springboot-parent springboot-database - 2.0.25 + 2.0.26 com.tiesheng.springboot-parent springboot-login - 2.0.25 + 2.0.26 com.tiesheng.springboot-parent springboot-web - 2.0.25 + 2.0.26 com.tiesheng.springboot-parent springboot-util - 2.0.25 + 2.0.26 com.tiesheng.springboot-parent springboot-platform - 2.0.25 + 2.0.26 com.tiesheng.springboot-parent springboot-message - 2.0.25 + 2.0.26 com.tiesheng.springboot-parent springboot-role - 2.0.25 + 2.0.26 com.tiesheng.springboot-parent springboot-annotation - 2.0.25 + 2.0.26 diff --git a/springboot-ademo/pom.xml b/springboot-ademo/pom.xml index cdf78a4..bf3280f 100644 --- a/springboot-ademo/pom.xml +++ b/springboot-ademo/pom.xml @@ -6,11 +6,11 @@ com.tiesheng.springboot-parent springboot-parent - 2.0.25 + 2.0.26 springboot-ademo - 2.0.25 + 2.0.26 8 diff --git a/springboot-annotation/pom.xml b/springboot-annotation/pom.xml index 49a5643..3b0d60d 100644 --- a/springboot-annotation/pom.xml +++ b/springboot-annotation/pom.xml @@ -6,7 +6,7 @@ com.tiesheng.springboot-parent springboot-parent - 2.0.25 + 2.0.26 springboot-annotation diff --git a/springboot-database/pom.xml b/springboot-database/pom.xml index 0d5a511..1c56c45 100644 --- a/springboot-database/pom.xml +++ b/springboot-database/pom.xml @@ -6,7 +6,7 @@ com.tiesheng.springboot-parent springboot-parent - 2.0.25 + 2.0.26 springboot-database diff --git a/springboot-login/pom.xml b/springboot-login/pom.xml index 49fdf51..7f379e9 100644 --- a/springboot-login/pom.xml +++ b/springboot-login/pom.xml @@ -6,7 +6,7 @@ com.tiesheng.springboot-parent springboot-parent - 2.0.25 + 2.0.26 springboot-login diff --git a/springboot-message/pom.xml b/springboot-message/pom.xml index 407679c..ef80d39 100644 --- a/springboot-message/pom.xml +++ b/springboot-message/pom.xml @@ -6,7 +6,7 @@ com.tiesheng.springboot-parent springboot-parent - 2.0.25 + 2.0.26 springboot-message diff --git a/springboot-platform/pom.xml b/springboot-platform/pom.xml index 4c899ed..f2faa6d 100644 --- a/springboot-platform/pom.xml +++ b/springboot-platform/pom.xml @@ -6,7 +6,7 @@ com.tiesheng.springboot-parent springboot-parent - 2.0.25 + 2.0.26 springboot-platform diff --git a/springboot-role/pom.xml b/springboot-role/pom.xml index f161d68..06ba3ea 100644 --- a/springboot-role/pom.xml +++ b/springboot-role/pom.xml @@ -6,7 +6,7 @@ com.tiesheng.springboot-parent springboot-parent - 2.0.25 + 2.0.26 springboot-role diff --git a/springboot-util/pom.xml b/springboot-util/pom.xml index 8a7e8ee..17aa525 100644 --- a/springboot-util/pom.xml +++ b/springboot-util/pom.xml @@ -6,7 +6,7 @@ com.tiesheng.springboot-parent springboot-parent - 2.0.25 + 2.0.26 springboot-util diff --git a/springboot-util/src/main/java/com/tiesheng/util/service/TsCacheService.java b/springboot-util/src/main/java/com/tiesheng/util/service/TsCacheService.java index 3d7f05c..fe0e7d4 100644 --- a/springboot-util/src/main/java/com/tiesheng/util/service/TsCacheService.java +++ b/springboot-util/src/main/java/com/tiesheng/util/service/TsCacheService.java @@ -102,7 +102,7 @@ public class TsCacheService { */ public void checkRepeat(String key, String value, int seconds) { String s = get(key); - if (Objects.equals(s, value)) { + if (StrUtil.isNotEmpty(s) && Objects.equals(s, value)) { throw new ApiException("操作频繁,请稍后再试"); } put(key, value, seconds); diff --git a/springboot-web/pom.xml b/springboot-web/pom.xml index 9b66cbe..4a4637e 100644 --- a/springboot-web/pom.xml +++ b/springboot-web/pom.xml @@ -6,7 +6,7 @@ com.tiesheng.springboot-parent springboot-parent - 2.0.25 + 2.0.26 springboot-web