提交 4bd03404 作者: 方治民

chore: 更新文档相关

上级 16b144c0
......@@ -17,7 +17,7 @@ import org.springframework.web.bind.annotation.RestController;
@Slf4j
@Validated
@Api(tags = "Hello World")
@Api(tags = "Hello")
@RequestMapping("/hello/")
@RestController
public class HelloController {
......
server:
port: 8181
servlet:
context-path: /api
context-path: /basic-api
spring:
application:
......
......@@ -27,7 +27,7 @@ import org.springframework.web.multipart.MultipartFile;
@Slf4j
@Validated
@Api(tags = "Minio S3")
@Api(tags = "Minio")
@RestController
@RequestMapping("/common/minio/")
public class MinioController {
......@@ -38,9 +38,9 @@ public class MinioController {
/**
* minio 上传文件,成功返回文件 url
*/
@ApiOperation(value = "文件上传")
@ApiOperation(value = "文件上传", tags = "upload")
@PostMapping(value = "upload", headers = "Content-Type=Multipart/Form-Data")
public Result<String> minio(@ApiParam(value = "文件", required = true) @RequestPart("file") MultipartFile file) {
public Result<String> upload(@ApiParam(value = "文件", required = true) @RequestPart("file") MultipartFile file) {
try {
Snowflake snowflake = IdUtil.getSnowflake(1, 1);
long uuid = snowflake.nextId();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论