https://spring.io/quickstart
The @RestController annotation tells Spring that this code describes an endpoint that should be made available over the web.
RESTful web service在返回值上的特点是?
返回值是json格式
{"id":1,"content":"Hello, User!"}
This application uses the Jackson JSON library to automatically marshal instances of type Greeting into JSON. Jackson is included by default by the web starter.
ModelMapper Java library干什么的?
use to convert Entity to DTO and vice versa