add(req-2119):新增“下载文件"API
This commit is contained in:
parent
2aaa3f7ece
commit
17744baafe
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user