在config里面设置controller的位置
注释等
controller编写参数,请求类型等
点击install将项目打包
点击springboot-run将项目在本机上跑起来
输入网址
http://localhost:8080/swagger-ui.html
即可看到相应的api
打开api,点击try it out
编辑输入值
点击excute
拿到返回值
数据库里查看结果
在config里面设置controller的位置
注释等
controller编写参数,请求类型等
点击install将项目打包
点击springboot-run将项目在本机上跑起来
输入网址
http://localhost:8080/swagger-ui.html
即可看到相应的api
打开api,点击try it out
编辑输入值
点击excute
拿到返回值
数据库里查看结果