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.

22 lines
418 B

3 years ago
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);
}