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