Merge branch 'Be/lecture' into 'backend'
[Back-End] feat : onlinestate 체크 컨트롤러 추가 See merge request s11-webmobile1-sub2/S11P12A701!77
This commit is contained in:
commit
eaa268acf0
@ -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