完善团课推荐页面

This commit is contained in:
2026-06-15 18:03:42 +08:00
parent 4e69185c48
commit d7961694f9
5 changed files with 540 additions and 174 deletions
+11 -1
View File
@@ -91,6 +91,14 @@ export function getMemberBookings(memberId, options = {}) {
return request.get(`/groupCourse/bookings/member/${memberId}`, {}, options)
}
export function getActiveRecommendCourses(options = { cache: true, cacheTime: 5 * 60 * 1000 }) {
return request.get('/groupCourse/recommend/active', {}, options)
}
export function getGroupCourseRecommendList(params = {}, options = { cache: true, cacheTime: 5 * 60 * 1000 }) {
return request.get('/groupCourse/recommend/list', params, options)
}
export default {
getGroupCourseList,
getGroupCoursePage,
@@ -106,5 +114,7 @@ export default {
getTypeLabels,
bookGroupCourse,
cancelBooking,
getMemberBookings
getMemberBookings,
getActiveRecommendCourses,
getGroupCourseRecommendList
}