diff --git a/src/main/java/com/teaching/backend/controller/ChapterController.java b/src/main/java/com/teaching/backend/controller/ChapterController.java new file mode 100644 index 0000000..f10ad15 --- /dev/null +++ b/src/main/java/com/teaching/backend/controller/ChapterController.java @@ -0,0 +1,20 @@ +package com.teaching.backend.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; + +import org.springframework.web.bind.annotation.RestController; + +/** + *
+ * 前端控制器 + *
+ * + * @author author + * @since 2024-06-07 + */ +@RestController +@RequestMapping("/chapter") +public class ChapterController { + +} diff --git a/src/main/java/com/teaching/backend/mapper/ChapterMapper.java b/src/main/java/com/teaching/backend/mapper/ChapterMapper.java new file mode 100644 index 0000000..375a19c --- /dev/null +++ b/src/main/java/com/teaching/backend/mapper/ChapterMapper.java @@ -0,0 +1,16 @@ +package com.teaching.backend.mapper; + +import com.teaching.backend.entity.Chapter; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + *+ * Mapper 接口 + *
+ * + * @author author + * @since 2024-06-07 + */ +public interface ChapterMapper extends BaseMapper+ * 服务类 + *
+ * + * @author author + * @since 2024-06-07 + */ +public interface IChapterService extends IService+ * 服务实现类 + *
+ * + * @author author + * @since 2024-06-07 + */ +@Service +public class ChapterServiceImpl extends ServiceImpl