feat(req-2119):设置Reponse参数值3

This commit is contained in:
胡朝飞 2024-03-08 15:26:19 +08:00
parent 0875656416
commit 6890bdebb4

View File

@ -2,7 +2,9 @@ package cn.axzo.oss.http.api;
import cn.axzo.oss.http.model.WebFileUploadVo;
import cn.azxo.framework.common.model.CommonResponse;
import feign.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RequestPart;
@ -33,4 +35,7 @@ public interface WebFileServiceApi {
CommonResponse<WebFileUploadVo> uploadObs(@Valid @RequestParam("appCode") String appCode,
@Valid @RequestParam("bizScene") String bizScene,
@Valid @RequestPart MultipartFile file);
@GetMapping(value = "/webApi/v1/obs/downloadFileFromObs")
Response downloadFileFromObs2(@RequestParam("fileUuid") String fileUuId);
}