namespace Admin.NET.Core; /// /// 对象存储配置选项 /// public sealed class OSSProviderOptions : IConfigurableOptions { /// /// 是否启用OSS存储 /// public bool IsEnable { get; set; } public int Provider { get; set; } public string Endpoint { get; set; } public string AccessKey { get; set; } public string SecretKey { get; set; } public string Region { get; set; } public string SessionToken { get; set; } public bool IsEnableHttps { get; set; } public bool IsEnableCache { get; set; } }