空港防疫算法交互
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.

19 lines
494B

  1. from enum import Enum, unique
  2. # 异常枚举
  3. @unique
  4. class ExceptionType(Enum):
  5. SUCCESS = ("fk000", "成功!")
  6. ILLEGAL_PARAMETER_FORMAT = ("fk001", "非法参数格式!")
  7. UNIVERSAL_TEXT_RECOGNITION_FAILED = ("fk002", "通用文字识别异常!")
  8. ABNORMAL_LICENSE_PLATE_RECOGNITION = ("fk003", "车牌识别异常!")
  9. AI_RECOGNITION_FAILED = ("fk004", "AI识别异常!")
  10. SERVICE_INNER_EXCEPTION = ("fk999", "系统内部异常, 请联系工程师定位处理!")