|
|
@@ -30,4 +30,11 @@ public class TestController { |
|
|
|
log.info("【test2】被执行了。。。。。"); |
|
|
|
return Dict.create().set("msg", "hello,world!").set("description", "我一直都在,卟离卟弃"); |
|
|
|
} |
|
|
|
|
|
|
|
@RateLimiter(value = 2.0, timeout = 300) |
|
|
|
@GetMapping("/test3") |
|
|
|
public Dict test3() { |
|
|
|
log.info("【test3】被执行了。。。。。"); |
|
|
|
return Dict.create().set("msg", "hello,world!").set("description", "别想一直看到我,不信你快速刷新看看~"); |
|
|
|
} |
|
|
|
} |