using JNPF.DependencyInjection; namespace JNPF.Common.Configuration; /// /// 配置文件. /// [SuppressSniffer] public class FileVariable { public static string SystemPath = KeyVariable.SystemPath; /// /// 用户头像存储路径. /// public static string UserAvatarFilePath = Path.Combine(SystemPath, "UserAvatar"); /// /// 临时文件存储路径. /// public static string TemporaryFilePath = Path.Combine(SystemPath, "TemporaryFile"); /// /// 备份数据存储路径. /// public static string DataBackupFilePath = Path.Combine(SystemPath, "DataBackupFile"); /// /// IM内容文件存储路径. /// public static string IMContentFilePath = Path.Combine(SystemPath, "IMContentFile"); /// /// 系统文件存储路径. /// public static string SystemFilePath = Path.Combine(SystemPath, "SystemFile"); /// /// 微信公众号资源存储路径. /// public static string MPMaterialFilePath = Path.Combine(SystemPath, "MPMaterial"); /// /// 文档管理存储路径. /// public static string DocumentFilePath = Path.Combine(SystemPath, "DocumentFile"); /// /// 生成代码路径. /// public static string GenerateCodePath = Path.Combine(SystemPath, "CodeGenerate"); /// /// 文件在线预览存储PDF. /// public static string DocumentPreviewFilePath = Path.Combine(SystemPath, "DocumentPreview"); /// /// 邮件文件存储路径. /// public static string EmailFilePath = Path.Combine(SystemPath, "EmailFile"); /// /// 大屏图片路径. /// public static string BiVisualPath = Path.Combine(SystemPath, "BiVisualPath"); /// /// 模板路径. /// public static string TemplateFilePath = Path.Combine(SystemPath, "TemplateFile"); }