更新:增加课程首页分类跳转列表页;优化全站列表分页加载;
This commit is contained in:
@@ -52,11 +52,15 @@ export const courseApi = {
|
||||
* @param page 页码
|
||||
* @returns 课程列表
|
||||
*/
|
||||
getMarketCourseList(id: number, limit: number, page: number) {
|
||||
getMarketCourseList(data: {
|
||||
id: number,
|
||||
page: number,
|
||||
limit: number
|
||||
}) {
|
||||
return client.request<IMarketCourseListResponse>({
|
||||
url: 'medical/home/getMarketCourseList',
|
||||
method: 'POST',
|
||||
data: { id, limit, page }
|
||||
data
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user