修复:我的课程标签树打开不重置问题
This commit is contained in:
@@ -381,6 +381,39 @@ export async function getIosPayment(transactionId : string, productId : string,
|
||||
* 我的课程
|
||||
* @param page 当前页码
|
||||
* @param limit 每页数量
|
||||
* @param title 课程名称
|
||||
* @param medicalId 商品id
|
||||
* @return
|
||||
*/
|
||||
export async function getUserCourseBuyList(page : number, limit : number, title : string, medicalId: string) {
|
||||
const res = await mainClient.request<IApiResponse>({
|
||||
url: 'medical/course/getUserCourseBuy',
|
||||
method: 'POST',
|
||||
data: { page, limit, title, medicalId }
|
||||
})
|
||||
return res
|
||||
}
|
||||
|
||||
/**
|
||||
* 正在学习
|
||||
* @param page 当前页码
|
||||
* @param limit 每页数量
|
||||
* @param userId 用户id
|
||||
* @return
|
||||
*/
|
||||
export async function getUserCourseStudyingList(page : number, limit : number, userId : string) {
|
||||
const res = await mainClient.request<IApiResponse>({
|
||||
url: 'medical/course/getUserCourseStudying',
|
||||
method: 'POST',
|
||||
data: { page, limit, userId }
|
||||
})
|
||||
return res
|
||||
}
|
||||
|
||||
/**
|
||||
* 已过期
|
||||
* @param page 当前页码
|
||||
* @param limit 每页数量
|
||||
* @param userId 用户id
|
||||
* @return
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user