You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

49 lines
895 B

import request from "@/utils/request";
/**
* 课程文章分类
*/
export function getCategory(data) {
return request.get("/CourseCategory", data);
}
/**
* 通过分类查找文章列表
*/
export function getArticle(data) {
return request.get("/article/listByCategoryId", data);
}
/**
* 获取文章详情
*/
export function getArticleDetails(data) {
return request.get("/article/details/"+data);
}
/**
* 获取学习榜单列表
*/
export function getStudyList(data) {
return request.post("/StudyList/listStudyList",data);
}
/**
* 获取课程列表
*/
export function getCourses(data) {
return request.post("/Course/listCourses",data);
}
/**
* 获取课程详情
*/
export function getCourseDetail(data) {
return request.post("/Course/courseDetail",data);
}
/**
* 报名
*/
export function enterCourse(data) {
return request.post("/user/enterCourse",data);
}