Commit 1296396e42e7f81305dbebc4ca09066ef6cae47c

Authored by 王言钊
2 parents c2ec9d75 c920f873

Merge branch 'dev'

src/main/java/com/cnlive/shenhe/api/YiDunControllerApi.java
@@ -3,6 +3,7 @@ package com.cnlive.shenhe.api; @@ -3,6 +3,7 @@ package com.cnlive.shenhe.api;
3 import com.alibaba.fastjson.JSONObject; 3 import com.alibaba.fastjson.JSONObject;
4 import com.cnlive.shenhe.entity.ShyYidun; 4 import com.cnlive.shenhe.entity.ShyYidun;
5 import com.cnlive.shenhe.serviceImpl.YiDunServiceImpl; 5 import com.cnlive.shenhe.serviceImpl.YiDunServiceImpl;
  6 +import com.cnlive.shenhe.utils.CommonConstStates;
6 import com.cnlive.shenhe.utils.HttpClientUtils; 7 import com.cnlive.shenhe.utils.HttpClientUtils;
7 import com.cnlive.shenhe.utils.YiDunAntiFraudUtil; 8 import com.cnlive.shenhe.utils.YiDunAntiFraudUtil;
8 import org.slf4j.Logger; 9 import org.slf4j.Logger;
@@ -85,7 +86,7 @@ public class YiDunControllerApi { @@ -85,7 +86,7 @@ public class YiDunControllerApi {
85 shyYidun.setTask_id(taskId); 86 shyYidun.setTask_id(taskId);
86 shyYidun.setData_id(dataId); 87 shyYidun.setData_id(dataId);
87 //网页 88 //网页
88 - shyYidun.setCheck_type(3); 89 + shyYidun.setCheck_type(CommonConstStates.WANGYE);
89 shyYidun.setCreate_time(new Date()); 90 shyYidun.setCreate_time(new Date());
90 yiDunServiceImpl.addYiDunMsg(shyYidun); 91 yiDunServiceImpl.addYiDunMsg(shyYidun);
91 } 92 }
src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
@@ -406,6 +406,7 @@ public class VideosServiceImpl { @@ -406,6 +406,7 @@ public class VideosServiceImpl {
406 String type = imagesFilter.getString("type"); 406 String type = imagesFilter.getString("type");
407 //易盾失败结果的详情 407 //易盾失败结果的详情
408 String desc = imagesFilter.getString("desc"); 408 String desc = imagesFilter.getString("desc");
  409 + logger.info("Type类型为:{}", type);
409 if (type.toLowerCase().equals(CommonConst.PASS)) { 410 if (type.toLowerCase().equals(CommonConst.PASS)) {
410 shyVideos.setMsg(desc); 411 shyVideos.setMsg(desc);
411 //修改点播云视频状态 412 //修改点播云视频状态