修改课程权限控制

This commit is contained in:
zhangsir
2023-11-23 11:47:24 +08:00
parent 93dd3519a9
commit 8f9b596a84
3 changed files with 61 additions and 18 deletions

View File

@@ -43,7 +43,9 @@ const pageList = function(query) {
const detail = function(id) {
return ajax.get('/xboe/m/course/portal/detail?id=' + id);
}
const detailPost = function(data) {
return ajax.post(`/xboe/m/course/portal/detail`,data);
}
/**
* 人气排行榜
* @param {Object} data
@@ -96,5 +98,6 @@ export default {
ranking,
scorelist,
recommendList,
getTeacherByCourseIDs
getTeacherByCourseIDs,
detailPost
}