GlobalConstant.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Infrastructure
  5. {
  6. /// <summary>
  7. /// 全局静态常量
  8. /// </summary>
  9. public class GlobalConstant
  10. {
  11. /// <summary>
  12. /// 管理员权限
  13. /// </summary>
  14. public static string AdminPerm = "*:*:*";
  15. /// <summary>
  16. /// 管理员角色
  17. /// </summary>
  18. public static string AdminRole = "admin";
  19. /// <summary>
  20. /// 开发版本API映射路径
  21. /// </summary>
  22. public static string DevApiProxy = "/dev-api/";
  23. /// <summary>
  24. /// 用户权限缓存key
  25. /// </summary>
  26. public static string UserPermKEY = "CACHE-USER-PERM";
  27. /// <summary>
  28. /// 欢迎语
  29. /// </summary>
  30. public static string[] WelcomeMessages = new string[] {
  31. "祝你开心每一天!",
  32. "忙碌了一周,停一停脚步!",
  33. "世间美好,与你环环相扣!",
  34. "永远相信美好的事情即将发生!",
  35. "每一天,遇见更好的自己!",
  36. "保持热爱,奔赴山海!",
  37. "生活明朗,万物可爱!",
  38. "愿每一天醒来都是美好的开始!",
  39. "没有希望的地方,就没有奋斗!",
  40. "我最珍贵的时光都行走在路上!",
  41. "成功,往往住在失败的隔壁!",
  42. "人只要不失去方向,就不会失去自己!",
  43. "每条堵住的路,都有一个出口!",
  44. "没有谁能击垮你,除非你自甘堕落!",
  45. "微笑着的人并非没有痛苦!",
  46. "生活变的再糟糕,也不妨碍我变得更好!",
  47. "你要悄悄努力,然后惊艳众人!",
  48. "人与人之间最大的信任是精诚相见",
  49. "人生就像爬坡,要一步一步来。",
  50. "今天的目标完成了吗?",
  51. "高效工作,告别996",
  52. "销售是从别人拒绝开始的!"
  53. };
  54. }
  55. }