1. 新增API版本枚举SDK项,创建SDK基础控制器 2. 添加IList、string扩展方法,新增时间戳扩展工具 3. 新增OSS配置、STS凭证服务、文件处理相关代码 4. 重构Redis缓存组件,替换StackExchange.Redis为CSRedisCore 5. 修复原有Redis操作方法调用,新增基础控制器快捷返回方法 6. 新增阿里云OSS、短信、VOD相关SDK依赖 7. 配置阿里云OSS相关参数到appsettings
63 lines
1.3 KiB
C#
63 lines
1.3 KiB
C#
|
|
namespace QYZH.InteractiveMagazine.Infrastructure.OSS
|
|
{
|
|
/// <summary>
|
|
/// OSS配置
|
|
/// </summary>
|
|
public class OSSOptions
|
|
{
|
|
public const string Section = "AliyunOSSConfigs";
|
|
|
|
/// <summary>
|
|
/// ID
|
|
/// </summary>
|
|
public string AccessKeyID { get; set; }
|
|
|
|
/// <summary>
|
|
/// 密钥
|
|
/// </summary>
|
|
public string AccessKeySecret { get; set; }
|
|
|
|
/// <summary>
|
|
/// 地区
|
|
/// </summary>
|
|
public string Region { get; set; }
|
|
|
|
/// <summary>
|
|
/// 存储桶
|
|
/// </summary>
|
|
public string BucketName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 视频点播储存桶
|
|
/// </summary>
|
|
public string VodBucketName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 存储桶
|
|
/// </summary>
|
|
public string RoleArn { get; set; }
|
|
|
|
/// <summary>
|
|
/// 过期时间
|
|
/// </summary>
|
|
public int DurationSeconds { get; set; }
|
|
|
|
/// <summary>
|
|
/// 终结点
|
|
/// </summary>
|
|
public string Endpoint { get; set; }
|
|
|
|
/// <summary>
|
|
/// IMM转换项目名称
|
|
/// </summary>
|
|
public string ProjectName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 访问域名
|
|
/// </summary>
|
|
public string Domain { get; set; }
|
|
}
|
|
|
|
}
|