|
@ -131,7 +131,15 @@ const VideoPlay = ({ dispatch, actions, |
|
|
dispatch(openness.getErrorCode({ status: numbers, platform: videoObj.type })).then((res) => { |
|
|
dispatch(openness.getErrorCode({ status: numbers, platform: videoObj.type })).then((res) => { |
|
|
console.log(res); |
|
|
console.log(res); |
|
|
if (res.payload.data) { |
|
|
if (res.payload.data) { |
|
|
setWritten(res.payload.data.paraphrase) |
|
|
if (res.payload.data.paraphraseCustom) { |
|
|
|
|
|
setWritten(res.payload.data.paraphraseCustom) |
|
|
|
|
|
} else { |
|
|
|
|
|
if (res.payload.data.describe) { |
|
|
|
|
|
setWritten(res.payload.data.describe) |
|
|
|
|
|
} else { |
|
|
|
|
|
setWritten('视频异常,问题处理中...') |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} else { |
|
|
} else { |
|
|
setWritten('视频异常,问题处理中...') |
|
|
setWritten('视频异常,问题处理中...') |
|
|
} |
|
|
} |
|
|