第一步 打开idea

第二步 创建SpringBoot项目

第三步 上代码

Controller

图片说明

Service

图片说明

实现类

图片说明
图片说明
小白一枚,不喜勿喷