Commit e9e3cd169b2ceee82b44e62dc67ad61010cd21dc

Authored by 徐近程
1 parent 7bb34157

update

src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
@@ -418,9 +418,9 @@ public class VideosServiceImpl { @@ -418,9 +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 + String errorCode = result.getString("errorCode");
422 Integer shenheState = CommonConst.AUDIT_REFUSE; 422 Integer shenheState = CommonConst.AUDIT_REFUSE;
423 - if (0 == code || 0 == errorCode) { 423 + if (0 == code || "0".equals(errorCode)) {
424 if (dianboState == 3) { 424 if (dianboState == 3) {
425 shenheState = CommonConst.AUDIT_SUCCESS; 425 shenheState = CommonConst.AUDIT_SUCCESS;
426 } 426 }