From 86219d26a20a4093ab458eb0572b66569ee43721 Mon Sep 17 00:00:00 2001 From: zhangli <123879394@qq.com> Date: Mon, 11 Aug 2025 22:45:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=9F=A5=E8=AF=A2OSS?= =?UTF-8?q?=E7=9A=84plicy=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/sczx/store/controller/OssController.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/sczx/store/controller/OssController.java b/src/main/java/com/sczx/store/controller/OssController.java index 6e2970c..3eb4a8e 100644 --- a/src/main/java/com/sczx/store/controller/OssController.java +++ b/src/main/java/com/sczx/store/controller/OssController.java @@ -5,6 +5,7 @@ import com.sczx.store.dto.OssPlicyReq; import com.sczx.store.dto.OssPolicyRes; import com.sczx.store.service.OssService; import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -19,6 +20,7 @@ public class OssController { @Autowired private OssService ossService; + @ApiOperation(value = "获取oss的policy") @PostMapping("/policy") public Result policy(@RequestBody OssPlicyReq ossPlicyReq) { return Result.ok(ossService.getPolicy(ossPlicyReq));