Browse Source

paraphrase

release_1.3.0
wenlele 2 years ago
parent
commit
379fdfd707
  1. 1
      code/VideoAccess-VCMP/api/app/lib/controllers/status/index.js
  2. 2
      code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx

1
code/VideoAccess-VCMP/api/app/lib/controllers/status/index.js

@ -243,6 +243,7 @@ async function statusCheck (ctx) {
include: [{
model: models.CameraStatusResolve,
attributes: { exclude: ['statusId'] },
required: false,
}],
})

2
code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx

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

Loading…
Cancel
Save