开发总遇到的注解进行记录: @GetMapping :组合注解,是@RequestMapping(method = RequestMethod.GET)的缩写;@PostMapping :组合注解,是@RequestMapping(method = RequestMethod.POST)的缩写;@JsonInclude(Include.NON_NULL) :放在类头上用于解决实体类与json互转的时候,属性值为null的不参与序列化;