Merge pull request #77 from liutaoyibeizhanyong/patch-3

Update README.md
This commit is contained in:
click33 2021-04-26 10:26:53 +08:00 committed by GitHub
commit b34aed5f97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,6 +91,7 @@ StpUtil.checkLogin();
当你受够Shiro、Security等框架的三拜九叩之后你就会明白相对于这些传统老牌框架sa-token的API设计是多么的清爽
权限认证示例 (只有具有`user:add`权限的会话才可以进入请求)
``` java
@SaCheckPermission("user:add")
@RequestMapping("/user/insert")