import axios from '~/api/request';
import { addCurriculumType, queryCurriculumInfoListType } from '~/api/interface/mallManageType';

export class MallManageAPI {
  // V1.0.1课程视频列表
  static queryCurriculumInfoList: queryCurriculumInfoListType = (params) =>
    axios.post('/release/curriculum/queryCurriculumInfoList', params);
  // V1.0.1新增课程
  static addCurriculum: addCurriculumType = (params) =>
    axios.post('/release/curriculum/addCurriculum', params);
}
