Constant.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace HiTeachCE.Helpers
  6. {
  7. public class Constant
  8. {
  9. public static string az09 = "qwertyuiopasdfghjklzxcvbnm0123456789";
  10. public static string num09 = "0123456789";
  11. public const string Role_WebAll = "WebAll";
  12. public const string Role_Root = "root";
  13. public const string Role_Admin = "admin";
  14. public const string Role_Lecturer = "lecturer";
  15. public const string Role_Learner = "learner";
  16. public const string Role_RootAdmin = "RootAdmin";
  17. public const string Role_LecturerLearner = "LecturerLearner";
  18. /// <summary>
  19. /// access_token
  20. /// </summary>
  21. public static readonly string ACCESS_TOKEN = "access_token";
  22. /// <summary>
  23. /// ÒýÓÃÒ³
  24. /// </summary>
  25. public static readonly string REFERER = "referer";
  26. /// <summary>
  27. /// token ÇëÇóÍ·
  28. /// </summary>
  29. public static readonly string AUTHORIZATION = "Authorization";
  30. /// <summary>
  31. /// josn¸ñʽ
  32. /// </summary>
  33. public static readonly string CONTENT_TYPE_JSON = "application/json";
  34. }
  35. }