[go: nahoru, domu]

Skip to content

Commit

Permalink
update sa-token-doc/doc/use/jur-auth.md.
Browse files Browse the repository at this point in the history
提示一下, 防止有经验的satoken新人直接调用此接口
  • Loading branch information
AppleOfGray authored and gitee-org committed Sep 15, 2022
1 parent 23e4ec6 commit 2cdb47f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sa-token-doc/doc/use/jur-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

``` java
/**
* 自定义权限验证接口扩展
* 自定义权限验证接口扩展
*/
@Component // 保证此类被SpringBoot扫描,完成Sa-Token的自定义权限验证扩展
public class StpInterfaceImpl implements StpInterface {
Expand Down Expand Up @@ -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 接口在需要鉴权时由框架自动调用, 开发者只需要配置好就可以使用下面的鉴权方法或后面的注解鉴权

### 权限认证
Expand Down

0 comments on commit 2cdb47f

Please sign in to comment.