药到病除:@SentinelResource中blockHandler不生效
com.alibaba.csp.sentinel.slots.block.flow.FlowException: null
1.限流资源路径应为@SentinelResource()中 value 属性
2.方法返回类型必须和兜底方法返回类型一致,下图为错误样例。
com.alibaba.csp.sentinel.slots.block.flow.FlowException: null
1.限流资源路径应为@SentinelResource()中 value 属性
2.方法返回类型必须和兜底方法返回类型一致,下图为错误样例。