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.
35 lines
678 B
35 lines
678 B
import request from "@/utils/request"; |
|
|
|
/** |
|
* 课程文章分类 |
|
*/ |
|
export function getCategory(data) { |
|
return request.get("/api/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("/api/StudyList/listStudyList",data); |
|
} |
|
/** |
|
* 获取课程列表 |
|
*/ |
|
export function getCourses(data) { |
|
return request.post("/api/cyCourse/listCourses",data); |
|
} |