This commit is contained in:
Li1304553726 2025-02-24 19:35:10 +08:00
parent bb1eeeec7c
commit c8bfbc081a
1 changed files with 8 additions and 8 deletions

View File

@ -214,14 +214,14 @@ export class GenDevService {
type: PostType.COURSE, type: PostType.COURSE,
title: title, title: title,
updatedAt: dayjs().toDate(), updatedAt: dayjs().toDate(),
depts: { // depts: {
connect: { // connect: {
id: deptId, // id: deptId,
}, // },
}, // },
terms:{ // terms:{
connect:[cateId,levelId].map // connect:[cateId,levelId].map
} // }
}, },
}); });
} }