add(req-2119):新增“下载文件"API

This commit is contained in:
胡朝飞 2024-03-06 16:04:21 +08:00
parent 2aaa3f7ece
commit 17744baafe

View File

@ -1,5 +1,7 @@
package cn.axzo.oss.http.api;
import cn.axzo.oss.http.model.DownloadFileFromObsRequest;
import cn.axzo.oss.http.model.DownloadFileFromObsResponse;
import cn.axzo.oss.http.model.WebFileUploadVo;
import cn.azxo.framework.common.model.CommonResponse;
import org.springframework.cloud.openfeign.FeignClient;
@ -33,4 +35,7 @@ public interface WebFileServiceApi {
CommonResponse<WebFileUploadVo> uploadObs(@Valid @RequestParam("appCode") String appCode,
@Valid @RequestParam("bizScene") String bizScene,
@Valid @RequestPart MultipartFile file);
@PostMapping("api/v1/server/downloadFileFromObs")
CommonResponse<DownloadFileFromObsResponse> downloadFileFromOBS(DownloadFileFromObsRequest request);
}