Commit 07fb38f6 by yuananting

fix:新增视频课课节唯一标识

parent 6510d9ee
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: 吴文洁 * @Author: 吴文洁
* @Date: 2020-08-05 10:07:47 * @Date: 2020-08-05 10:07:47
* @LastEditors: yuananting * @LastEditors: yuananting
* @LastEditTime: 2021-07-09 18:00:15 * @LastEditTime: 2021-07-09 18:10:37
* @Description: 线上课新增/编辑页 * @Description: 线上课新增/编辑页
* @Copyright: 杭州杰竞科技有限公司 版权所有 * @Copyright: 杭州杰竞科技有限公司 版权所有
*/ */
...@@ -166,6 +166,7 @@ class AddVideoCourse extends React.Component { ...@@ -166,6 +166,7 @@ class AddVideoCourse extends React.Component {
const _courseChapterVOList = courseChapterVOList.map(item => { const _courseChapterVOList = courseChapterVOList.map(item => {
item.mediaName = item.name; item.mediaName = item.name;
item.resourceId = item.id;
return item return item
}) })
...@@ -330,6 +331,7 @@ class AddVideoCourse extends React.Component { ...@@ -330,6 +331,7 @@ class AddVideoCourse extends React.Component {
mediaName: folderName.replace('.mp4',''), mediaName: folderName.replace('.mp4',''),
videoDuration: videoDom.duration, videoDuration: videoDom.duration,
mediaUrl: ossUrl, mediaUrl: ossUrl,
resourceId,
sort: _courseChapterList.length sort: _courseChapterList.length
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment