Commit 7bb341578bd021e7844465759e0b4fc0e7b505fb
1 parent
859a1117
update
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
| ... | ... | @@ -418,8 +418,9 @@ public class VideosServiceImpl { |
| 418 | 418 | JSONObject result = Pass.auditPass(video.getVideo_id(), dianboState, video.getMsg(), video.getMsg(), video.getCallback()); |
| 419 | 419 | logger.error("点播回调result:{}", result); |
| 420 | 420 | Integer code = result.getInteger("code"); |
| 421 | + Integer errorCode = result.getInteger("errorCode"); | |
| 421 | 422 | Integer shenheState = CommonConst.AUDIT_REFUSE; |
| 422 | - if (0 == code) { | |
| 423 | + if (0 == code || 0 == errorCode) { | |
| 423 | 424 | if (dianboState == 3) { |
| 424 | 425 | shenheState = CommonConst.AUDIT_SUCCESS; |
| 425 | 426 | } | ... | ... |