Skip to content

Commit b2f93f6

Browse files
author
robot
committed
feat: 更新讲义
1 parent 3ac69b5 commit b2f93f6

File tree

4 files changed

+109
-130
lines changed

4 files changed

+109
-130
lines changed

routes/lectures.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ router.get("/api/v1/lectures/intro", async (ctx) => {
2323
router.get("/api/v1/lectures/:id", async (ctx) => {
2424
const id = ctx.params.id;
2525
const lecture = lecturesId[id];
26+
console.log(id, lecturesId);
2627
if (!lecture) {
2728
ctx.body = fail({ message: "讲义不存在" });
2829
} else {

0 commit comments

Comments
 (0)