import request from '@/utils/request';
export const zxxx_kc_list = (data = {}) =>
  request({
    url: '/zhjy/zxxx_course/index',
    data: {
        page: data.page,
        limit: data.limit,
        keyword: data.keyword,
        grade_id: data.grade_id,
        subject_id: data.subject_id,
    }
  })
  export const zxxx_list = (data = {}) =>
  request({
    url: '/zhjy/zxxx/index',
    data: {
        page: data.page,
        limit: data.limit,
        keyword: data.keyword,
        grade_id: data.grade_id,
        subject_id: data.subject_id,
        zzc_id: data.zzc_id,
        zz_type:data.zz_type
    }
  })
export const grade_list = (data = {}) =>
    request({
        url: '/jcxx/grade/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword,
            grade_id: data.grade_id,

        }
    })
export const subject_list = (data = {}) =>
    request({
        url: '/jcxx/subject/index',
        data: {
            page: data.page,
            limit: data.limit,
            keyword: data.keyword,
            subject_name_short: data.subject_name_short,

        }
    })
export const zxxx_detail = (data = {}) =>
  request({
    url: '/zhjy/zxxx/detail',
    data: {
      zz_id: data.zz_id

    }
  })
  //自主研学详情
export const zxxx_kc_detail = (data = {}) => {
  return request({
    url: '/zhjy/zxxx_course/detail',
    data,
  })
}