VzConsts.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. namespace VberZero;
  2. public class VzConsts
  3. {
  4. public const string LocalizationSourceName = "VberZero";
  5. public const bool MultiTenancyEnabled = true;
  6. public const string DefaultLanguage = "zh-Hans";
  7. public const string DefaultUiTheme = "Vber";
  8. public const string LocalizationCookieName = "VberAdmin.AspNetCore.Culture";
  9. public const int PrimaryKey = 32;
  10. public const string SwaggerUiEndPoint = "/swagger";
  11. public static bool SwaggerUiEnabled = true;
  12. public const string OAuthTokenUrl = "/auth/token";
  13. public const string AuthPropertiesFunName = "FUN";
  14. public const int SignInExpireMinutes = 60;
  15. public const string FunRootName = "HTSystem";
  16. public const string TreeRootParentNo = null!;
  17. public const string TreeRootNo = "0";
  18. public const string ResourceBasePath = "Resources/";
  19. public const string AppApiName = "app";
  20. public static readonly string ApiAppUrl = $"/api/services/{AppApiName}/";
  21. #region Cache
  22. public const string CacheAuditLogDesc = "AuditLogDescCache";
  23. public const string CacheSysState = "SysStateCache";
  24. public const string CacheSystemUser = "SystemUserCache";
  25. public const string CacheFunction = "FunctionCache";
  26. public const string CachePermissionFunction = "PermissionFunctionCache";
  27. public const string CacheSysHelp = "SysHelpCache";
  28. #endregion Cache
  29. }