|
|
@@ -20,7 +20,7 @@ public class HotelController {
|
|
|
public ResponseVO createHotel(@RequestBody HotelVO hotelVO) {
|
|
|
|
|
|
hotelService.addHotel(hotelVO);
|
|
|
- return ResponseVO.buildSuccess();
|
|
|
+ return ResponseVO.buildSuccess(true);
|
|
|
}
|
|
|
|
|
|
@GetMapping("/all")
|
|
|
@@ -31,7 +31,7 @@ public class HotelController {
|
|
|
@PostMapping("/roomInfo")
|
|
|
public ResponseVO addRoomInfo(@RequestBody HotelRoom hotelRoom) {
|
|
|
hotelService.addHotelRoomInfo(hotelRoom);
|
|
|
- return ResponseVO.buildSuccess();
|
|
|
+ return ResponseVO.buildSuccess(true);
|
|
|
}
|
|
|
|
|
|
@GetMapping("/{hotelId}/detail")
|