2 次代碼提交 c27ff088f9 ... afb4b6a368

作者 SHA1 備註 提交日期
  tangjiang afb4b6a368 Merge branch 'test' of http://110.188.24.182:10023/Fengwo/hotline into test 3 天之前
  tangjiang 78bdb2ab52 黑白名单操作记录新增排序 3 天之前
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);
         }