code.go 519 B

1234567891011121314151617181920212223
  1. package e
  2. const (
  3. SUCCESS = 200
  4. ERROR = 500
  5. INVALID_PARAMS = 400
  6. ERROR_EXIST = 10001
  7. ERROR_EXIST_FAIL = 10002
  8. ERROR_NOT_EXIST = 10003
  9. ERROR_GET_S_FAIL = 10004
  10. ERROR_COUNT_FAIL = 10005
  11. ERROR_ADD_FAIL = 10006
  12. ERROR_EDIT_FAIL = 10007
  13. ERROR_DELETE_FAIL = 10008
  14. ERROR_EXPORT_FAIL = 10009
  15. ERROR_IMPORT_FAIL = 10010
  16. ERROR_AUTH_CHECK_TOKEN_FAIL = 20001
  17. ERROR_AUTH_CHECK_TOKEN_TIMEOUT = 20002
  18. ERROR_AUTH_TOKEN = 20003
  19. ERROR_AUTH = 20004
  20. )