import {
  courseVideoListType,
  queryCurriculumInfoListType,
} from '@/api/interface/flyer';
import request from '@/api/request';

export class FlyerAPI {
  // 课程列表
  static getCourseVideoList: courseVideoListType = (data) => {
    return request.post('/release/curriculum/queryCurriculumInfoList', data);
  };

  // V1.0.1课程视频列表
  static queryCurriculumInfoList: queryCurriculumInfoListType = (params) =>
    request.post('/release/curriculum/queryCurriculumInfoList', params);
}
