增加推荐页面

This commit is contained in:
2025-01-09 17:28:30 +08:00
parent 8572bebabb
commit f6d386e793
5 changed files with 348 additions and 102 deletions

View File

@@ -51,4 +51,18 @@ export function getJinbiBili(data) {
url: 'common/type/914',
data
})
}
}
//获取推荐视频
export function tuijianVideo(data){
const randomNum=5+ Math.ceil(Math.random()*30)
return http.request({
url: 'course/selectCourseDetailsList',
method:'GET',
data:{
page: 1,
limit: 5,
randomNum: randomNum
}
})
}