update 优化 防重 与 限流 功能支持国际化消息返回

This commit is contained in:
疯狂的狮子Li
2022-03-03 22:55:49 +08:00
parent 56feff0455
commit 2ff36d81a1
7 changed files with 17 additions and 5 deletions

View File

@ -22,8 +22,8 @@ public @interface RepeatSubmit {
TimeUnit timeUnit() default TimeUnit.MILLISECONDS;
/**
* 提示消息
* 提示消息 支持国际化 格式为 {code}
*/
String message() default "不允许重复提交,请稍候再试";
String message() default "{repeat.submit.message}";
}