feat(req-2119):设置Reponse参数值3
This commit is contained in:
parent
0875656416
commit
6890bdebb4
@ -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);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user