21 lines
601 B
C#
21 lines
601 B
C#
namespace ShengShengBuXi.ConsoleApp.Services;
|
|
|
|
/// <summary>
|
|
/// 音频文件服务接口
|
|
/// </summary>
|
|
public interface IAudioFileService
|
|
{
|
|
/// <summary>
|
|
/// 更新音频文件
|
|
/// </summary>
|
|
/// <param name="fileName">文件名</param>
|
|
/// <param name="fileData">文件数据</param>
|
|
/// <returns>异步任务</returns>
|
|
Task UpdateAudioFileAsync(string fileName, byte[] fileData);
|
|
|
|
/// <summary>
|
|
/// 确保音频文件目录存在
|
|
/// </summary>
|
|
/// <param name="basePath">基础路径</param>
|
|
void EnsureAudioDirectoryExists(string basePath);
|
|
} |