Skip to content

Commit

Permalink
✅ 测试自定义key
Browse files Browse the repository at this point in the history
  • Loading branch information
xkcoding committed Sep 30, 2019
1 parent 6320d75 commit 054546e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public Dict test2() {
return Dict.create().set("msg", "hello,world!").set("description", "我一直都在,卟离卟弃");
}

@RateLimiter(value = 2)
@RateLimiter(value = 2, key = "测试自定义key")
@GetMapping("/test3")
public Dict test3() {
log.info("【test3】被执行了。。。。。");
Expand Down

0 comments on commit 054546e

Please sign in to comment.