mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
update sa-token-doc/doc/use/route-check.md.
This commit is contained in:
parent
ce9dd4f5e8
commit
6e3f6103ca
@ -105,7 +105,7 @@ public class MySaTokenConfig implements WebMvcConfigurer {
|
||||
SaRouterUtil.match("/notice/**", () -> StpUtil.checkPermission("notice"));
|
||||
SaRouterUtil.match("/comment/**", () -> StpUtil.checkPermission("comment"));
|
||||
|
||||
// 匹配RESTful风格路由
|
||||
// 匹配 restful 风格路由
|
||||
SaRouterUtil.match("/article/get/{id}", () -> StpUtil.checkPermission("article"));
|
||||
|
||||
})).addPathPatterns("/**");
|
||||
|
Loading…
Reference in New Issue
Block a user