Commit 7bb341578bd021e7844465759e0b4fc0e7b505fb

Authored by 徐近程
1 parent 859a1117

update

src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
@@ -418,8 +418,9 @@ public class VideosServiceImpl { @@ -418,8 +418,9 @@ public class VideosServiceImpl {
418 JSONObject result = Pass.auditPass(video.getVideo_id(), dianboState, video.getMsg(), video.getMsg(), video.getCallback()); 418 JSONObject result = Pass.auditPass(video.getVideo_id(), dianboState, video.getMsg(), video.getMsg(), video.getCallback());
419 logger.error("点播回调result:{}", result); 419 logger.error("点播回调result:{}", result);
420 Integer code = result.getInteger("code"); 420 Integer code = result.getInteger("code");
  421 + Integer errorCode = result.getInteger("errorCode");
421 Integer shenheState = CommonConst.AUDIT_REFUSE; 422 Integer shenheState = CommonConst.AUDIT_REFUSE;
422 - if (0 == code) { 423 + if (0 == code || 0 == errorCode) {
423 if (dianboState == 3) { 424 if (dianboState == 3) {
424 shenheState = CommonConst.AUDIT_SUCCESS; 425 shenheState = CommonConst.AUDIT_SUCCESS;
425 } 426 }