Commit 0b830292a1db7615f655e3189d98bc1d30d7142a

Authored by shaofan
1 parent 98a67cce

Update default message in Idempotent annotation

修改了默认提示信息,从“重复请求,请稍后重试”改为“慢点嘛,手速太快啦~”。优化用户交互体验,使提示语更具亲和力和趣味性。
src/main/java/com/diligrp/idempotent/spring/boot/annotation/Idempotent.java
@@ -43,7 +43,7 @@ public @interface Idempotent { @@ -43,7 +43,7 @@ public @interface Idempotent {
43 * 43 *
44 * @return String 44 * @return String
45 */ 45 */
46 - String info() default "重复请求,请稍后重试"; 46 + String info() default "慢点嘛,手速太快啦~";
47 47
48 /** 48 /**
49 * 缓存key 前缀 49 * 缓存key 前缀