修复:复读报错
This commit is contained in:
@@ -433,7 +433,7 @@ export async function getCourseExpireList(page : number, limit : number, userId
|
||||
* @return
|
||||
*/
|
||||
export async function addUserCourseStudyingList(userId : string, courseId : string) {
|
||||
const res = await mainClient.request<IApiResponse>({
|
||||
const res = await skeletonClient.request<IApiResponse>({
|
||||
url: 'medical/course/addUserCourseStudying',
|
||||
method: 'POST',
|
||||
data: { userId, courseId }
|
||||
@@ -447,7 +447,7 @@ export async function addUserCourseStudyingList(userId : string, courseId : stri
|
||||
* @return
|
||||
*/
|
||||
export async function delUserCourseStudyingList(courseId : string) {
|
||||
const res = await mainClient.request<IApiResponse>({
|
||||
const res = await skeletonClient.request<IApiResponse>({
|
||||
url: 'medical/course/delUserCourseStudying',
|
||||
method: 'POST',
|
||||
data: { courseId }
|
||||
@@ -465,4 +465,18 @@ export async function getCourseMedicalTreeList() {
|
||||
method: 'POST'
|
||||
})
|
||||
return res
|
||||
}
|
||||
|
||||
/**
|
||||
* 续费课程
|
||||
* @param catalogueId 商品id
|
||||
* @return
|
||||
*/
|
||||
export async function getRelearnShopProductList(catalogueId : string) {
|
||||
const res = await skeletonClient.request<IApiResponse>({
|
||||
url: 'common/courseRelearn/relearnShopProductList',
|
||||
method: 'POST',
|
||||
data: { catalogueId }
|
||||
})
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user