赞
踩
右下角显示分支名称
/** * 列表查询(非分页)new功能添加 * * @return */ @RequestMapping("/list") @SentinelResource(value = "articleList", blockHandlerClass = ApArticleBlockHandler.class, blockHandler = "blockHandler", fallbackClass = ApArticleFallback.class, fallback = "fallback") public R listNew() throws InterruptedException { ApArticle model = new ApArticle(); //SentinelResourceAspect //SentinelResourceAspect List<ApArticle> list = iApArticleService.list(); // TimeUnit.MILLISECONDS.sleep(1500); //int i=1/0; // todo 再包装一层 //int i = 1/0; return R.ok(list); }
首先提交到本地
右下角显示master
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。