线上课加入选修必修字段

This commit is contained in:
禺狨
2023-03-20 16:02:23 +08:00
parent 6baafcb579
commit 5e187d248f
10 changed files with 44 additions and 478 deletions

View File

@@ -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,