code.go 293 B

1234567891011121314
  1. package ex
  2. const (
  3. SUCCESS = 200
  4. ERROR = 500
  5. INVALID_PARAMS = 400
  6. ERROR_AUTH_CHECK_TOKEN_MISSING = 20001
  7. ERROR_AUTH_CHECK_TOKEN_FAIL = 20002
  8. ERROR_UPLOAD_SAVE_IMAGE_FAIL = 30001
  9. ERROR_UPLOAD_CHECK_IMAGE_FAIL = 30002
  10. ERROR_UPLOAD_CHECK_IMAGE_FORMAT = 30003
  11. )