From 9294cf1fc635c005b663cca499c269b3a5bdf96a Mon Sep 17 00:00:00 2001 From: Argo-MacBookPro Date: Fri, 2 Nov 2018 12:44:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9BUG=EF=BC=9A=E8=8F=9C?= =?UTF-8?q?=E5=8D=95RetrieveMenusByRoleId=E6=96=B9=E6=B3=95=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E5=AF=B9=E8=B1=A1=E5=8C=85=E5=90=ABID=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E8=80=8C=E4=B8=8D=E5=BA=94=E8=AF=A5=E6=98=AFID?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bootstrap.DataAccess/Menu.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bootstrap.DataAccess/Menu.cs b/Bootstrap.DataAccess/Menu.cs index 38c32233..785f3b2c 100644 --- a/Bootstrap.DataAccess/Menu.cs +++ b/Bootstrap.DataAccess/Menu.cs @@ -84,7 +84,7 @@ namespace Bootstrap.DataAccess } } } - return menus.Select(m => m.Id); + return menus.Select(m => new { m.Id }); } /// /// 通过角色ID保存当前授权菜单