From eb55b3db2756d88135fc9284f589f6d76b83ed46 Mon Sep 17 00:00:00 2001 From: 188633308 <188633308@qq.com> Date: Sun, 25 Apr 2021 19:53:06 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=A2=9E=E5=8A=A0=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Api/Ewide.Core/Service/App/SysAppService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Api/Ewide.Core/Service/App/SysAppService.cs b/Api/Ewide.Core/Service/App/SysAppService.cs index 8cb3ebf..0e415d4 100644 --- a/Api/Ewide.Core/Service/App/SysAppService.cs +++ b/Api/Ewide.Core/Service/App/SysAppService.cs @@ -48,9 +48,11 @@ namespace Ewide.Core.Service } var appList = await apps.OrderBy(u => u.Sort).Select(u => new AppOutput { + Id = u.Id, Code = u.Code, Name = u.Name, - Active = u.Active + Active = u.Active, + Sort = u.Sort }).ToListAsync(); // .OrderByDescending(u => u.Active) // 将激活的放到第一个 //// 默认激活第一个应用