diff --git a/src/api/designPlatform.js b/src/api/designPlatform.js index 9b314b209..aa456b01c 100644 --- a/src/api/designPlatform.js +++ b/src/api/designPlatform.js @@ -58,7 +58,7 @@ export function runUserPlanNotify({ planId }) { /** 管理员获取需审核的课程列表 */ export function reviewLessonList(params) { return request({ - url: `/api/review/lesson`, + url: `/api/review/query/lesson`, method: 'get', params }); @@ -76,7 +76,7 @@ export function adminPublishLesson(data, id) { /** 管理员驳回课程发布申请 */ export function rejectedLessonRelease(data, id) { return request({ - url: `/api/review/${id}`, + url: `/api/review/lesson/${id}`, method: 'post', data: data }); @@ -85,7 +85,7 @@ export function rejectedLessonRelease(data, id) { /** 普通用户申请发布和撤销申请 */ export function releaseOrCancel(id, status) { return request({ - url: `/api/review/releaseOrCancel/${id}/${status}`, + url: `/api/review/lesson/releaseOrCancel/${id}/${status}`, method: 'get' }); } diff --git a/src/components/QueryListPage/QueryListPage.vue b/src/components/QueryListPage/QueryListPage.vue index c0e6daf79..e95b7e1ae 100644 --- a/src/components/QueryListPage/QueryListPage.vue +++ b/src/components/QueryListPage/QueryListPage.vue @@ -36,7 +36,8 @@