Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-backend
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
framework
cloud-backend
Commits
31975d08
Commit
31975d08
authored
Jul 10, 2021
by
袁伟铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.0.0
parent
e549272d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common-utils/src/main/java/com/zq/common/annotation/Limit.java
+2
-2
No files found.
common-utils/src/main/java/com/zq/common/annotation/Limit.java
View file @
31975d08
...
...
@@ -73,14 +73,14 @@ public @interface Limit {
int
count
()
default
3
;
/**
* 对象里的属性名,仅当
仅当{@link #limitType}为{@code RateLimitTypeEnum
.POJO_FIELD}时有用
* 对象里的属性名,仅当
{@link #limitType}为{@code LimitType
.POJO_FIELD}时有用
*
* @return
*/
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
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment