提交 70f59b99 编写于 作者: S smallchill

🎉 2.7.2.RELEASE 集成JustAuth支持第三方登录

上级 4361abef
......@@ -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));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册