Commit 31975d08 by 袁伟铭

1.0.0

parent e549272d
...@@ -73,14 +73,14 @@ public @interface Limit { ...@@ -73,14 +73,14 @@ public @interface Limit {
int count() default 3; int count() default 3;
/** /**
* 对象里的属性名,仅当仅当{@link #limitType}为{@code RateLimitTypeEnum.POJO_FIELD}时有用 * 对象里的属性名,仅当{@link #limitType}为{@code LimitType.POJO_FIELD}时有用
* *
* @return * @return
*/ */
String field() default ""; String field() default "";
/** /**
* 要用来作为key组成的参数索引(从0开始), 该索引对应的参数必须为string/Long/Integer/Short/Byte, 仅当{@link #limitType}为{@code RateLimitTypeEnum.PARAM}时有用 * 要用来作为key组成的参数索引(从0开始), 该索引对应的参数必须为string/Long/Integer/Short/Byte, 仅当{@link #limitType}为{@code LimitType.PARAM}时有用
* *
* @return * @return
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment