using JNPF.Common.Enums;
using JNPF.ConfigurableOptions;
namespace JNPF.Common.Options;
///
/// JNPF基本配置.
///
public sealed class AppOptions : IConfigurableOptions
{
///
/// 命名空间.
///
public List CodeAreasName { get; set; }
///
/// 系统文件路径.
///
public string SystemPath { get; set; }
///
/// 微信公众号允许上传文件类型.
///
public List MPUploadFileType { get; set; }
///
/// 微信允许上传文件类型.
///
public List WeChatUploadFileType { get; set; }
///
/// 允许图片类型.
///
public List AllowUploadImageType { get; set; }
///
/// 允许上传文件类型.
///
public List AllowUploadFileType { get; set; }
///
/// 过滤上传文件名称特殊字符.
///
public List SpecialString { get; set; }
///
/// 文件预览方式.
///
public PreviewType PreviewType { get; set; }
///
/// kkfile发布域名.
///
public string Domain { get; set; }
///
/// 永中 配置.
///
public YOZO YOZO { get; set; }
///
/// 软件的错误报告.
///
public bool ErrorReport { get; set; }
///
/// 报告发给谁.
///
public string ErrorReportTo { get; set; }
}
///
/// 永中.
///
public class YOZO
{
///
/// 域名.
///
public string Domain { get; set; }
///
/// 域名key.
///
public string domainKey { get; set; }
///
/// 上传接口.
///
public string UploadAPI { get; set; }
///
/// 预览接口.
///
public string DownloadAPI { get; set; }
///
/// 应用Id.
///
public string AppId { get; set; }
///
/// 签名.
///
public string AppKey { get; set; }
}