|
@@ -13,6 +13,7 @@ using Hotline.Share.Dtos.TrCallCenter;
|
|
|
using Hotline.Share.Enums.CallCenter;
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
using Microsoft.Extensions.Options;
|
|
|
+using System.Threading;
|
|
|
using XF.Domain.Exceptions;
|
|
|
using XF.Utility.EnumExtensions;
|
|
|
|
|
@@ -104,10 +105,10 @@ namespace Hotline.Api.Controllers
|
|
|
/// <returns></returns>
|
|
|
/// <exception cref="NotImplementedException"></exception>
|
|
|
[HttpGet("{callId}")]
|
|
|
- public Task<CallNativeDto?> GetCall(string callId)
|
|
|
+ public Task<CallNative?> GetCall(string callId)
|
|
|
{
|
|
|
if (string.IsNullOrEmpty(callId)) return default;
|
|
|
- return _callApplication.GetTelAsync(callId, HttpContext.RequestAborted);
|
|
|
+ return _callApplication.GetCallAsync(callId, HttpContext.RequestAborted);
|
|
|
}
|
|
|
|
|
|
/// <summary>
|