using AI.Platform.Core; using AI.Platform.Core.Entity; using AI.Platform.Core.Entity.Media; using AI.Platform.Service.Common; using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Text; namespace AI.Platform.Service; [ApiGroup(ApiGroupNames.Media)] public class MediaService { private readonly SqlSugarRepository _mediaRepository; private readonly IHttpContextAccessor _contextAccessor; public MediaService(IHttpContextAccessor contextAccessor, SqlSugarRepository mediaRepository) { _contextAccessor = contextAccessor; _mediaRepository = mediaRepository; } }