{"size": 715, "ext": "js", "max_stars_repo_path": "src/api/edu/video.js", "max_stars_repo_name": "GRITWJY/wjygrit-guli-vue-houtai", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/api/edu/video.js", "max_issues_repo_name": "GRITWJY/wjygrit-guli-vue-houtai", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/edu/video.js", "max_forks_repo_name": "GRITWJY/wjygrit-guli-vue-houtai", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.875, "max_line_length": 50, "alphanum_fraction": 0.5804195804}
import request from '../../utils/request'
export default {

  deleteAliyun(videoId){
    return request({
      url:'/eduvod/video/removeAlyVideo/'+videoId,
      method:'delete'
    })
  },

  addVideo(video){
    return request({
      url:'/eduservice/video/addVideo',
      method:'post',
      data:video
    })
  },
  updateChapterInfo(video){
    return request({
      url:'/eduservice/video/updateVideo',
      method:'post',
      data:video
    })
  },

  deleteChapter(videoId){
    return request({
      url:'/eduservice/video/' + videoId,
      method:'delete'
    })
  },

  getVideo(videoId){
    return request({
      url:'/eduservice/video/getVideo/' + videoId,
      method:'get'
    })
  },
}
