1
0
mirror of https://gitee.com/mirrors/Spring-Cloud-Alibaba.git synced 2021-06-26 13:25:11 +08:00

update sentinel demo

This commit is contained in:
fangjian0423 2019-07-29 00:06:49 +08:00
parent c52a678251
commit 9557879f44

View File

@ -50,7 +50,7 @@ public class ConsumerApplication {
String divide(@RequestParam("a") Integer a, @RequestParam("b") Integer b);
default String divide(Integer a) {
return divide(a, 1);
return divide(a, 0);
}
@RequestMapping(value = "/notFound", method = RequestMethod.GET)