From ac9d1fa9f84941c0aaade4d950ab44af60e4b1c2 Mon Sep 17 00:00:00 2001 From: AppleOfGray Date: Thu, 14 Jul 2022 02:38:04 +0000 Subject: [PATCH] =?UTF-8?q?update=20sa-token-doc/doc/up/many-account.md.?= =?UTF-8?q?=20=E8=BF=98=E6=98=AF=E9=92=88=E5=AF=B9=E8=B7=B3=E7=BA=A7?= =?UTF-8?q?=E9=98=85=E8=AF=BB=E7=9A=84=E6=96=B0=E4=BA=BA=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E8=80=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sa-token-doc/doc/up/many-account.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sa-token-doc/doc/up/many-account.md b/sa-token-doc/doc/up/many-account.md index ff73198b..f0bb2905 100644 --- a/sa-token-doc/doc/up/many-account.md +++ b/sa-token-doc/doc/up/many-account.md @@ -74,7 +74,7 @@ public String info() { 注:`@SaCheckRole("xxx")`、`@SaCheckPermission("xxx")`同理,亦可根据type属性指定其校验的账号体系,此属性默认为`""`,代表使用原生`StpUtil`账号体系。 - +> 使用注解必须[添加注解拦截器](https://sa-token.dev33.cn/doc/index.html#/use/at-check?id=_1%e3%80%81%e6%b3%a8%e5%86%8c%e6%8b%a6%e6%88%aa%e5%99%a8) ### 6、使用注解合并简化代码 交流群里有同学反应,虽然可以根据 `@SaCheckLogin(type = "user")` 指定账号类型,但几十上百个注解都加上这个的话,还是有些繁琐,代码也不够优雅,有么有更简单的解决方案?