Class NEYidunAntiSpamRes

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Integer getCode() 200:易盾内容审核结果返回正常 404:易盾反回的内容审核结果为空,该情况下 yidunAntiSpamRes 中无 code 以外的字段 414:易盾返回的内容审核结果过长,该情况下 yidunAntiSpamRes 中无 ext 字段
      final String getType() 内容审核类型 text:文本 image:图片
      final String getVersion() 易盾内容审核的接口版本
      final String getTaskId() 审核任务的 ID
      final Integer getSuggestion() 建议处理方式 0:通过 1:嫌疑,建议人工复审 2:不通过
      final Integer getStatus() 内容审核请求结果 0:成功 1:失败
      final String getExt() 内容审核结果,对应易盾的 result 字段
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCode

         final Integer getCode()

        200:易盾内容审核结果返回正常 404:易盾反回的内容审核结果为空,该情况下 yidunAntiSpamRes 中无 code 以外的字段 414:易盾返回的内容审核结果过长,该情况下 yidunAntiSpamRes 中无 ext 字段

      • getType

         final String getType()

        内容审核类型 text:文本 image:图片

      • getSuggestion

         final Integer getSuggestion()

        建议处理方式 0:通过 1:嫌疑,建议人工复审 2:不通过

      • getStatus

         final Integer getStatus()

        内容审核请求结果 0:成功 1:失败

      • getExt

         final String getExt()

        内容审核结果,对应易盾的 result 字段