|
@@ -134,6 +134,7 @@ public class TelDomainService : ITelDomainService, IScopeDependency
|
|
|
|
|
|
if (_options.Value.CallCenterType!= "WeiErXin")
|
|
|
{
|
|
|
+ telRest.StartTime = DateTime.Now;
|
|
|
#region 处理设备
|
|
|
var tel = _telCacheManager.GetTel(telRest.TelNo);
|
|
|
foreach (var group in tel.Groups)
|
|
@@ -142,10 +143,6 @@ public class TelDomainService : ITelDomainService, IScopeDependency
|
|
|
}
|
|
|
#endregion
|
|
|
}
|
|
|
- else
|
|
|
- {
|
|
|
- telRest.StartTime = DateTime.Now;
|
|
|
- }
|
|
|
|
|
|
//通知前端休息通过
|
|
|
await _realtimeService.RestApplyPassAsync(telRest.UserId, cancellationToken);
|