mirror of
https://github.com/chillzhuang/SpringBlade.git
synced 2024-12-23 17:49:25 +08:00
🎉 2.7.2.RELEASE 集成JustAuth支持第三方登录
This commit is contained in:
parent
13798e3621
commit
113f99bf73
@ -162,6 +162,9 @@ public class MenuController extends BladeController {
|
||||
@ApiOperationSupport(order = 10)
|
||||
@ApiOperation(value = "菜单的角色权限")
|
||||
public R<List<Kv>> authRoutes(BladeUser user) {
|
||||
if (Func.isEmpty(user) || user.getUserId() == 0L) {
|
||||
return null;
|
||||
}
|
||||
return R.data(menuService.authRoutes(user));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user