From b37eb8c12c4cdbd5a03ec8830989c90efe1e8b4c Mon Sep 17 00:00:00 2001 From: zhangran Date: Fri, 12 Aug 2022 10:58:47 +0800 Subject: [PATCH] =?UTF-8?q?fix-=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/cn/axzo/oss/http/api/ServerFileServiceApi.java | 5 ++--- pom.xml | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/oss-http-api/src/main/java/cn/axzo/oss/http/api/ServerFileServiceApi.java b/oss-http-api/src/main/java/cn/axzo/oss/http/api/ServerFileServiceApi.java index ec590f9..75b1710 100644 --- a/oss-http-api/src/main/java/cn/axzo/oss/http/api/ServerFileServiceApi.java +++ b/oss-http-api/src/main/java/cn/axzo/oss/http/api/ServerFileServiceApi.java @@ -19,7 +19,6 @@ import org.springframework.web.bind.annotation.RequestMethod; name = "oss", url = "http://oss:9123" ) -@RequestMapping(value = "/api/v1/server") public interface ServerFileServiceApi { /** @@ -27,7 +26,7 @@ public interface ServerFileServiceApi { * @param request * @return */ - @RequestMapping(value = "/upload", method = RequestMethod.POST) + @RequestMapping(value = "/api/v1/server/upload", method = RequestMethod.POST) CommonResponse upload(ServerFileUploadRequest request); /** @@ -35,7 +34,7 @@ public interface ServerFileServiceApi { * @param request * @return */ - @RequestMapping(value = "/delete", method = RequestMethod.POST) + @RequestMapping(value = "/api/v1/server/delete", method = RequestMethod.POST) CommonResponse delete(ServerFileDeleteRequest request); } diff --git a/pom.xml b/pom.xml index 5adde92..2267e93 100644 --- a/pom.xml +++ b/pom.xml @@ -20,7 +20,7 @@ 1.1.4 8.5.0 - 1.0.0 + 1.0.1 4.4 3.5