mirror of
https://github.com/PlayEdu/backend
synced 2025-12-23 12:39:51 +08:00
线上课加入选修必修字段
This commit is contained in:
@@ -30,6 +30,7 @@ export function storeCourse(
|
||||
title: string,
|
||||
thumb: string,
|
||||
isShow: number,
|
||||
isRequired: number,
|
||||
depIds: number[],
|
||||
categoryIds: number[],
|
||||
chapters: number[],
|
||||
@@ -39,6 +40,7 @@ export function storeCourse(
|
||||
title: title,
|
||||
thumb: thumb,
|
||||
is_show: isShow,
|
||||
is_required: isRequired,
|
||||
dep_ids: depIds,
|
||||
category_ids: categoryIds,
|
||||
chapters: chapters,
|
||||
@@ -55,6 +57,7 @@ export function updateCourse(
|
||||
title: string,
|
||||
thumb: string,
|
||||
isShow: number,
|
||||
isRequired: number,
|
||||
depIds: number[],
|
||||
categoryIds: number[],
|
||||
chapters: number[],
|
||||
@@ -64,6 +67,7 @@ export function updateCourse(
|
||||
title: title,
|
||||
thumb: thumb,
|
||||
is_show: isShow,
|
||||
is_required: isRequired,
|
||||
dep_ids: depIds,
|
||||
category_ids: categoryIds,
|
||||
chapters: chapters,
|
||||
|
||||
Reference in New Issue
Block a user