112
This commit is contained in:
parent
3407cb4169
commit
29a4e92942
|
|
@ -743,7 +743,7 @@ namespace ShengShengBuXi.Hubs
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="count">获取数量</param>
|
/// <param name="count">获取数量</param>
|
||||||
/// <returns>处理任务</returns>
|
/// <returns>处理任务</returns>
|
||||||
public async Task GetRecentRecordings(int count = 100)
|
public async Task GetRecentRecordings(int count = 1000)
|
||||||
{
|
{
|
||||||
if (!_clients.TryGetValue(Context.ConnectionId, out var clientInfo))
|
if (!_clients.TryGetValue(Context.ConnectionId, out var clientInfo))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1156,7 +1156,7 @@
|
||||||
log("GetRecordingsPage方法不存在,回退到旧方法: " + err);
|
log("GetRecordingsPage方法不存在,回退到旧方法: " + err);
|
||||||
|
|
||||||
// 兼容旧方法,获取所有录音后在前端筛选
|
// 兼容旧方法,获取所有录音后在前端筛选
|
||||||
connection.invoke("GetRecentRecordings", 100)
|
connection.invoke("GetRecentRecordings", 3000)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
log("已成功发送获取录音列表请求(旧方法)");
|
log("已成功发送获取录音列表请求(旧方法)");
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -495,7 +495,7 @@ public class AudioProcessingService : IAudioProcessingService
|
||||||
// 只返回文件名,不包含路径
|
// 只返回文件名,不包含路径
|
||||||
var fileNames = files.Select(f => f.Name).ToArray();
|
var fileNames = files.Select(f => f.Name).ToArray();
|
||||||
|
|
||||||
_logger.LogInformation($"返回录音文件: {string.Join(", ", fileNames)}");
|
//_logger.LogInformation($"返回录音文件: {string.Join(", ", fileNames)}");
|
||||||
return fileNames;
|
return fileNames;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user