From 81f6e1fd1ccb75cc826f0315b9765d53c68fa51a Mon Sep 17 00:00:00 2001 From: smallchill Date: Mon, 27 May 2019 14:41:30 +0800 Subject: [PATCH] :tada: 2.0.2.RELEASE --- .../org/springblade/resource/controller/OssController.java | 4 +++- .../java/org/springblade/resource/endpoint/OssEndpoint.java | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/blade-ops/blade-resource/src/main/java/org/springblade/resource/controller/OssController.java b/blade-ops/blade-resource/src/main/java/org/springblade/resource/controller/OssController.java index b7de105b..366e46af 100644 --- a/blade-ops/blade-resource/src/main/java/org/springblade/resource/controller/OssController.java +++ b/blade-ops/blade-resource/src/main/java/org/springblade/resource/controller/OssController.java @@ -36,6 +36,7 @@ import org.springblade.resource.entity.OssVO; import org.springblade.resource.service.IOssService; import org.springblade.resource.wrapper.OssWrapper; import org.springframework.web.bind.annotation.*; +import springfox.documentation.annotations.ApiIgnore; import javax.validation.Valid; @@ -51,7 +52,8 @@ import static org.springblade.core.cache.constant.CacheConstant.SYS_CACHE; @AllArgsConstructor @RequestMapping("/oss") @PreAuth(RoleConstant.HAS_ROLE_ADMIN) -@Api(value = "对象存储接口", tags = "接口") +@ApiIgnore +@Api(value = "对象存储接口", tags = "对象存储接口") public class OssController extends BladeController { private IOssService ossService; diff --git a/blade-ops/blade-resource/src/main/java/org/springblade/resource/endpoint/OssEndpoint.java b/blade-ops/blade-resource/src/main/java/org/springblade/resource/endpoint/OssEndpoint.java index 8cdd4f7d..5dfde9bd 100644 --- a/blade-ops/blade-resource/src/main/java/org/springblade/resource/endpoint/OssEndpoint.java +++ b/blade-ops/blade-resource/src/main/java/org/springblade/resource/endpoint/OssEndpoint.java @@ -16,6 +16,7 @@ */ package org.springblade.resource.endpoint; +import io.swagger.annotations.Api; import lombok.AllArgsConstructor; import lombok.SneakyThrows; import org.springblade.core.oss.model.OssFile; @@ -33,6 +34,7 @@ import org.springframework.web.multipart.MultipartFile; @RestController @AllArgsConstructor @RequestMapping("/oss/endpoint") +@Api(value = "对象存储端点", tags = "对象存储端点") public class OssEndpoint { private OssBuilder ossBuilder;