@ -23,6 +23,12 @@ public class TestController {
return "Hello";
}
@RequestMapping(value = "/aa", method = RequestMethod.GET)
@SentinelResource("aa")
public String aa(int b, int a) {
return "Hello test";
@RequestMapping(value = "/test", method = RequestMethod.GET)
public String test1() {
@ -8,9 +8,9 @@
"strategy": 0
},
{
"resource": "p",
"resource": "/test",
"controlBehavior": 0,
"count": 1,
"count": 0,
"grade": 1,
"limitApp": "default",
@ -1,6 +1,6 @@
[
"resource": "hotResource",
"resource": "aa",