|
@@ -19,7 +19,7 @@ public class CourseController {
|
|
|
|
|
|
|
|
@GetMapping("/getCourseById")
|
|
@GetMapping("/getCourseById")
|
|
|
public OkResponse<CourseVO> findCourseById(@RequestParam Long id) {
|
|
public OkResponse<CourseVO> findCourseById(@RequestParam Long id) {
|
|
|
- return null;
|
|
|
|
|
|
|
+ return OkResponse.of(courseService.findCourseById(id));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@PostMapping("/create")
|
|
@PostMapping("/create")
|