From 2cdb47fd49bff6100805a964ce774c3144a4882a Mon Sep 17 00:00:00 2001 From: AppleOfGray Date: Thu, 15 Sep 2022 01:57:57 +0000 Subject: [PATCH] =?UTF-8?q?update=20sa-token-doc/doc/use/jur-auth.md.=20?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=B8=80=E4=B8=8B,=20=E9=98=B2=E6=AD=A2?= =?UTF-8?q?=E6=9C=89=E7=BB=8F=E9=AA=8C=E7=9A=84satoken=E6=96=B0=E4=BA=BA?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E8=B0=83=E7=94=A8=E6=AD=A4=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sa-token-doc/doc/use/jur-auth.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sa-token-doc/doc/use/jur-auth.md b/sa-token-doc/doc/use/jur-auth.md index c02c8913..50a0b88c 100644 --- a/sa-token-doc/doc/use/jur-auth.md +++ b/sa-token-doc/doc/use/jur-auth.md @@ -28,7 +28,7 @@ ``` java /** - * 自定义权限验证接口扩展 + * 自定义权限验证接口扩展 */ @Component // 保证此类被SpringBoot扫描,完成Sa-Token的自定义权限验证扩展 public class StpInterfaceImpl implements StpInterface { @@ -70,6 +70,7 @@ public class StpInterfaceImpl implements StpInterface { 可参考代码:[码云:StpInterfaceImpl.java](https://gitee.com/dromara/sa-token/blob/master/sa-token-demo/sa-token-demo-springboot/src/main/java/com/pj/satoken/StpInterfaceImpl.java) +> 注意: StpInterface 接口在需要鉴权时由框架自动调用, 开发者只需要配置好就可以使用下面的鉴权方法或后面的注解鉴权 ### 权限认证