+запуск приложения
начало реализации бронирования
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
package com.example.nto.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* TODO: ДОРАБОТАТЬ в рамках задания
|
||||
* =================================
|
||||
* МОЖНО: Добавлять методы, аннотации, зависимости
|
||||
* НЕЛЬЗЯ: Изменять название класса и пакета
|
||||
*/
|
||||
@RestController
|
||||
public class BookingController {
|
||||
@GetMapping("/booking")
|
||||
public String booking(@RequestParam(defaultValue = "")String id){
|
||||
return "booking session started " + id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user