diff --git a/src/main/java/com/teaching/backend/controller/Know/KnowController.java b/src/main/java/com/teaching/backend/controller/Know/KnowController.java index 9e3bc6f..c508fc2 100644 --- a/src/main/java/com/teaching/backend/controller/Know/KnowController.java +++ b/src/main/java/com/teaching/backend/controller/Know/KnowController.java @@ -22,7 +22,7 @@ import java.util.Set; @RestController -@RequestMapping("/knowNeo") +@RequestMapping("/api/knowNeo") public class KnowController { @Autowired diff --git a/src/main/java/com/teaching/backend/controller/chapter/ChapterController2.java b/src/main/java/com/teaching/backend/controller/chapter/ChapterController2.java index d77e609..6f0229d 100644 --- a/src/main/java/com/teaching/backend/controller/chapter/ChapterController2.java +++ b/src/main/java/com/teaching/backend/controller/chapter/ChapterController2.java @@ -30,7 +30,7 @@ import java.util.List; */ @Api(tags = "课程章节管理接口2") @RestController -@RequestMapping("/chapter2") +@RequestMapping("/api/chapter2") public class ChapterController2 { @Autowired diff --git a/src/main/java/com/teaching/backend/controller/resource/ResourceController.java b/src/main/java/com/teaching/backend/controller/resource/ResourceController.java index 1dc7cc1..29cdfd4 100644 --- a/src/main/java/com/teaching/backend/controller/resource/ResourceController.java +++ b/src/main/java/com/teaching/backend/controller/resource/ResourceController.java @@ -22,7 +22,7 @@ import java.util.Set; @RestController -@RequestMapping("/resource") +@RequestMapping("/api/resource") public class ResourceController { @Autowired