code.go 555 B

12345678910111213141516171819202122232425
  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. THROUGHOUt_THE_DAY_TO_END = 30001
  21. )