feat : onlinestate 체크 컨트롤러 추가
This commit is contained in:
parent
a4b3bab290
commit
747af409fa
@ -93,4 +93,9 @@ public class LectureController {
|
||||
|
||||
return new ResponseEntity<>(myLectures, HttpStatus.OK);
|
||||
}
|
||||
|
||||
@GetMapping("/isLive/{lectureId}")
|
||||
public ResponseEntity<Boolean> checkIsLive(@PathVariable long lectureId) {
|
||||
return new ResponseEntity<>(lectureService.getState(lectureId), HttpStatus.OK);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user