Browse Source

通话记录返回处理

libin 4 days ago
parent
commit
e2d361eeff
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/Hotline.Api/Controllers/IPPbxController.cs

+ 2 - 1
src/Hotline.Api/Controllers/IPPbxController.cs

@@ -727,7 +727,8 @@ namespace Hotline.Api.Controllers
                 }
             });
 
-            return new PagedDto<TrCallDto>(total, _mapper.Map<IReadOnlyList<TrCallDto>>(itemsResult));
+            return new PagedDto<TrCallDto>(total, itemsResult);
+            //return new PagedDto<TrCallDto>(total, _mapper.Map<IReadOnlyList<TrCallDto>>(items));
         }
 
         /// <summary>