|
@@ -57,7 +57,10 @@ namespace Hotline.Api.Controllers
|
|
|
{
|
|
|
//return await _systemSettingsRepository.QueryAsync(x => true);
|
|
|
|
|
|
- return await _systemSettingGroupRepository.QueryExtAsync(x => true, x => x.Includes(d => d.SystemSettings));
|
|
|
+ return await _systemSettingGroupRepository.QueryExtAsync(
|
|
|
+ x => true,
|
|
|
+ x => x.Includes(d => d.SystemSettings.OrderBy(x=>x.Sort)),
|
|
|
+ x => x.OrderBy(d=>d.Sort));
|
|
|
|
|
|
}
|
|
|
|