@PostMapping和@PutMapping做用等同,都是用来向服务器提交信息。若是是添加信息,倾向于用@PostMapping,若是是更新信息,倾向于用@PutMapping。二者差异不是很明显。服务器