{"size": 502, "ext": "js", "max_stars_repo_path": "src/api/course.js", "max_stars_repo_name": "thangcoo/vuetest", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/api/course.js", "max_issues_repo_name": "thangcoo/vuetest", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/course.js", "max_forks_repo_name": "thangcoo/vuetest", "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": 16.1935483871, "max_line_length": 37, "alphanum_fraction": 0.6055776892}
import request from '@/utils/request'

export function getCourses(data) {
  return request({
    url: '/course/inquire',
    method: 'post',
    data
  })
}
export function addCourse(data) {
  return request({
    url: '/course/add',
    method: 'post',
    data
  })
}
export function updateCourse(data) {
  return request({
    url: '/course/update',
    method: 'post',
    data
  })
}
export function delCourse(data) {
  return request({
    url: '/course/del',
    method: 'post',
    data
  })
}
