上传一部分之后,显示找不到文件,请问这是为什么。
代码如下
plug.uploadVideo({
"videoPath": that.m_videoPathTemp.replace('file://', ''),
"fileName": that.mTeacherInfo.FTeacherName,
"signature": json.Data, //签名信息
"coverPath": that.mTeacherInfo.FTeacherHeadImg
}, ret => {
console.log(ret)
if (ret.code == 7 && ret.playUrl) {
that.m_videoPath = ret.playUrl;
that.FFileID = ret.fileId,
that.RealSave();
}
});
----------返回的错误信息如下:-------------------------------------------------
{
"msg": "视频上传出错",
"code": "6",
"errCode": 1004,
"errMsg": "cos upload error:com.tencent.cos.xml.exception.CosXmlClientException: upload file does not exist"
}
-----------------------------------------------------------
相似问题