diff --git a/api/modules/coursePortal.js b/api/modules/coursePortal.js index 0c0bcfe..d6f9d40 100644 --- a/api/modules/coursePortal.js +++ b/api/modules/coursePortal.js @@ -76,6 +76,18 @@ const courseSearch=function(query){ return ajax.post('/xboe/m/course/fulltext/search',query); } +/* +* 课程详情页推荐列表 +* @param num 条数 +* 以下参数 详情中有就传,没有就不传 +* @param sysType1 +* @param sysType2 +* @param sysType3 +* */ +const recommendList=function (data){ + return ajax.post('/xboe/m/course/portal/mobile-recommend',data); +} + export default { courseSearch, list, @@ -83,5 +95,6 @@ export default { detail, ranking, scorelist, + recommendList, getTeacherByCourseIDs } diff --git a/components/interact-share/interact-share.vue b/components/interact-share/interact-share.vue index cbd710d..5a250aa 100644 --- a/components/interact-share/interact-share.vue +++ b/components/interact-share/interact-share.vue @@ -1,19 +1,28 @@