|
@@ -123,8 +123,8 @@ export const deleteCourse = idList => {
|
|
|
export const updateCourse = datas => {
|
|
|
return $post("/api/admin/basic/course/save", datas);
|
|
|
};
|
|
|
-export const ableCourse = ({ id, enable }) => {
|
|
|
- return $post("/api/admin/basic/course/enable", { id, enable });
|
|
|
+export const ableCourse = ({ idList, enable }) => {
|
|
|
+ return $postParam("/api/admin/basic/course/enable", { idList, enable });
|
|
|
};
|
|
|
// flow-manage
|
|
|
export const flowListPage = datas => {
|