Browse Source

paraphrase

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

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

@ -219,7 +219,7 @@ async function resolveEdit (ctx) {
console.log('err.name', error.name);
console.log('err.message', error.message);
console.log('err.errors', error.errors);
ctx.status = 400;
ctx.body = {}
}
@ -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