|
@@ -12,7 +12,8 @@ http://112.74.63.148:49001/
|
|
|
使用参考 https://baomidou.com/pages/24112f/
|
|
|
|
|
|
## swwager2 生成接口文档
|
|
|
-在controller 的接口方法上加上 @ApiOperation(value = "xxx") 即可。
|
|
|
+在controller 加上@Api(value = "/test", tags = {"controller描述"})
|
|
|
+接口方法上加上 @ApiOperation(value = "接口描述") 即可。
|
|
|
文档地址:http://127.0.0.1:端口/doc.html
|
|
|
|
|
|
## 接口返回
|