2 Commit-ok c27ff088f9 ... afb4b6a368

Szerző SHA1 Üzenet Dátum
  tangjiang afb4b6a368 Merge branch 'test' of http://110.188.24.182:10023/Fengwo/hotline into test 3 napja
  tangjiang 78bdb2ab52 黑白名单操作记录新增排序 3 napja
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      src/Hotline.Api/Controllers/CallNativeContrroller.cs

+ 1 - 0
src/Hotline.Api/Controllers/CallNativeContrroller.cs

@@ -255,6 +255,7 @@ namespace Hotline.Api.Controllers
                 .WhereIF(!string.IsNullOrEmpty(dto.LogAction), p => p.LogAction == dto.LogAction)
                 .WhereIF(!string.IsNullOrEmpty(dto.UserName), p => p.CreatorName == dto.UserName)
                 .WhereIF(!string.IsNullOrEmpty(dto.PhoneNum), p => p.PhoneNum == dto.PhoneNum)
+                .OrderByDescending(p => p.CreationTime)
                 .ToPagedListAsync(dto, HttpContext.RequestAborted);
             return new PagedDto<WhiteBlackLog>(total, items);
         }