基础服务api
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

60 lines
1.3 KiB

  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace BPA.SAAS.Manage.Application.AExternalPlatform.Enum
  8. {
  9. /// <summary>
  10. /// 系统错误码
  11. /// </summary>
  12. [ErrorCodeType]
  13. [Description("系统错误码")]
  14. public enum ErrorCodeEnum
  15. {
  16. /// <summary>
  17. /// 用户没有注册
  18. /// </summary>
  19. [ErrorCodeItemMetadata("用户没有注册")]
  20. Code1000,
  21. /// <summary>
  22. /// 操作错误
  23. /// </summary>
  24. [ErrorCodeItemMetadata("操作错误")]
  25. Code1001,
  26. /// <summary>
  27. /// 重复添加
  28. /// </summary>
  29. [ErrorCodeItemMetadata("重复添加")]
  30. Code1002,
  31. /// <summary>
  32. /// 操作数据不存在
  33. /// </summary>
  34. [ErrorCodeItemMetadata("操作数据不存在")]
  35. Code1003,
  36. /// <summary>
  37. /// key不正确
  38. /// </summary>
  39. [ErrorCodeItemMetadata("key不正确")]
  40. Code1004,
  41. /// <summary>
  42. /// 签名错误
  43. /// </summary>
  44. [ErrorCodeItemMetadata("签名错误")]
  45. Code1005,
  46. /// <summary>
  47. /// 签名错误
  48. /// </summary>
  49. [ErrorCodeItemMetadata("签名过期")]
  50. Code1006,
  51. }
  52. }