You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
601 B
20 lines
601 B
5 days ago
|
using OnceMi.AspNetCore.OSS;
|
||
|
|
||
|
namespace Admin.NET.Core;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 对象存储配置选项
|
||
|
/// </summary>
|
||
|
public sealed class OSSProviderOptions : OSSOptions, IConfigurableOptions
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 是否启用OSS存储
|
||
|
/// </summary>
|
||
|
public bool IsEnable { get; set; }
|
||
|
|
||
|
/// <summary>
|
||
|
/// 自定义桶名称 不能直接使用Provider来替代桶名称
|
||
|
/// 例:阿里云 1.只能包括小写字母,数字,短横线(-)2.必须以小写字母或者数字开头 3.长度必须在3-63字节之间
|
||
|
/// </summary>
|
||
|
public string Bucket { get; set; }
|
||
|
}
|