import request from "@/utils/request";

// 学科 jcxx_subject 列表接口
export const subject_list = (data = {}) =>
  request({
    url: "/jcxx/subject/index",
    data,
  });
// 年级 jcxx_grade 列表接口
export const grade_list = (data = {}) =>
  request({
    url: "/jcxx/grade/index",
    data,
  });
// 学校列表接口
export const school_list = (data = {}) =>
  request({
    url: "/school/main/index",
    data,
  });
// 班级列表接口
export const class_list = (data = {}) =>
  request({
    url: "/jcxx/class/index",
  });

// 教师用户列表
export const teacher_list = (data = {}) => {
  return request({
    url: "/user/main/index",
    data,
  });
};

// 直播课程列表
export const wlzb_list = (data = {}) => {
  return request({
    url: "/zhjy/zxxx/index",
    data,
  });
};

// 直播课程列表修改
export const wlzb_edit = (data = {}) => {
  return request({
    url: "/zhjy/zxxx/edit",
    data,
  });
};

// 直播课程列表详情
export const wlzb_detail = (data = {}) => {
  return request({
    url: "/zhjy/zxxx/detail",
    data,
  });
};
