Blame view

netcore/src/Modularity/Common/NCC.Common/Configuration/FileVariable.cs 2.28 KB
de2bd2f9   “wangming”   项目初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
  using NCC.Dependency;
  using System.IO;
  
  namespace NCC.Common.Configuration
  {
      /// <summary>
      /// 配置文件
      /// </summary>
      [SuppressSniffer]
      public class FileVariable
      {
          public static string SystemPath = KeyVariable.SystemPath;
  
          /// <summary>
          /// 用户头像存储路径
          /// </summary>
          public static string UserAvatarFilePath = SystemPath + "UserAvatar/";
  
          /// <summary>
          /// 临时文件存储路径
          /// </summary>
          public static string TemporaryFilePath = SystemPath + "TemporaryFile/";
  
          /// <summary>
          /// 备份数据存储路径
          /// </summary>
          public static string DataBackupFilePath = SystemPath + "DataBackupFile/";
  
          /// <summary>
          /// IM内容文件存储路径
          /// </summary>
          public static string IMContentFilePath = SystemPath + "IMContentFile/";
  
          /// <summary>
          /// 系统文件存储路径
          /// </summary>
          public static string SystemFilePath = SystemPath + "SystemFile/";
  
          /// <summary>
          /// 微信公众号资源存储路径
          /// </summary>
          public static string MPMaterialFilePath = SystemPath + "MPMaterial/";
  
          /// <summary>
          /// 文档管理存储路径
          /// </summary>
          public static string DocumentFilePath = SystemPath + "DocumentFile/";
  
          /// <summary>
          /// 云盘文档管理存储路径
          /// </summary>
          public static string DiskDocumentFilePath = SystemPath + "DiskDocumentFile/";
  
          /// <summary>
          /// 生成代码路径
          /// </summary>
          public static string GenerateCodePath = SystemPath + "CodeGenerate";
  
          /// 文件在线预览存储PDF
          /// </summary>
          public static string DocumentPreviewFilePath = SystemPath + "DocumentPreview/";
  
          /// 邮件文件存储路径
          /// </summary>
          public static string EmailFilePath = SystemPath + "EmailFile/";
  
          /// <summary>
          /// 大屏图片路径
          /// </summary>
          public static string BiVisualPath = Path.Combine(SystemPath, "BiVisualPath");
  
          /// <summary>
          /// 模板路径
          /// </summary>
          public static string TemplateFilePath = SystemPath + "TemplateFile/";
      }
  }