|
@@ -28,9 +28,22 @@ namespace Hotline.Api.Controllers.Bigscreen
|
|
var callTop10 = await _seatStateDataService.GetCallTop10(HttpContext.RequestAborted);
|
|
var callTop10 = await _seatStateDataService.GetCallTop10(HttpContext.RequestAborted);
|
|
var callList =await _seatStateDataService.GetCallList(HttpContext.RequestAborted);
|
|
var callList =await _seatStateDataService.GetCallList(HttpContext.RequestAborted);
|
|
var callAverage = await _seatStateDataService.GetCallAverage(HttpContext.RequestAborted);
|
|
var callAverage = await _seatStateDataService.GetCallAverage(HttpContext.RequestAborted);
|
|
- var listenTels = _systemSettingCacheManager.GetSetting(SettingConstants.ListenTels)?.SettingValue;
|
|
|
|
|
|
+
|
|
|
|
|
|
- return new object[] { call24, callTop10, callList, callAverage, listenTels };
|
|
|
|
|
|
+ return new object[] { call24, callTop10, callList, callAverage };
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 获取监听分机
|
|
|
|
+ /// </summary>
|
|
|
|
+ /// <returns></returns>
|
|
|
|
+ [AllowAnonymous]
|
|
|
|
+ [HttpGet("query-listentels")]
|
|
|
|
+ public async Task<object> GetListenTels()
|
|
|
|
+ {
|
|
|
|
+ var listenTels = _systemSettingCacheManager.GetSetting(SettingConstants.ListenTels)?.SettingValue;
|
|
|
|
+ return listenTels;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|