{"size": 922, "ext": "js", "max_stars_repo_path": "src/api/online-class/live-telecast-manage.js", "max_stars_repo_name": "LearningLog/boshiweb", "max_stars_repo_stars_event_min_datetime": "2019-12-09T07:34:23.000Z", "max_stars_repo_stars_event_max_datetime": "2019-12-09T07:34:23.000Z", "max_issues_repo_path": "src/api/online-class/live-telecast-manage.js", "max_issues_repo_name": "LearningLog/boshiweb", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/online-class/live-telecast-manage.js", "max_forks_repo_name": "LearningLog/boshiweb", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.8965517241, "max_line_length": 37, "alphanum_fraction": 0.6095444685}
/**
 * @Author: JiMei
 * @Date: 2019/11/6
 * @Description: 在线课堂接口
 * @remarks:
 */

import request from '@/utils/request'

// 获取课堂列表
export function chapetrList(data) {
  return request({
    url: '/cr/chapter/findPageV2',
    method: 'post',
    data
  })
}
// 删除课堂
export function chapetr_del(data) {
  return request({
    url: '/cr/chapter/delete',
    method: 'post',
    data
  })
}
// 新增课堂
export function chapetr_add(data) {
  return request({
    url: '/cr/chapter/createV2',
    method: 'post',
    data
  })
}
// 修改课堂
export function chapetr_edit(data) {
  return request({
    url: '/cr/chapter/update',
    method: 'post',
    data
  })
}
// 单个课堂详情
export function getOneChapter(data) {
  return request({
    url: '/cr/chapter/findById',
    method: 'post',
    data
  })
}
// 更新课堂
export function chapetrUpdate(data) {
  return request({
    url: '/cr/chapter/updateV2',
    method: 'post',
    data
  })
}
