|
@ -10,6 +10,7 @@ package com.epmet.feign; |
|
|
|
|
|
|
|
|
import com.epmet.commons.tools.constant.ServiceConstant; |
|
|
import com.epmet.commons.tools.constant.ServiceConstant; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
|
|
import com.epmet.dto.form.TestFormDTO; |
|
|
import com.epmet.dto.result.UploadImgResultDTO; |
|
|
import com.epmet.dto.result.UploadImgResultDTO; |
|
|
import com.epmet.feign.fallback.OssFeignClientFallback; |
|
|
import com.epmet.feign.fallback.OssFeignClientFallback; |
|
|
import com.epmet.feign.fallback.OssFeignClientFallbackFactory; |
|
|
import com.epmet.feign.fallback.OssFeignClientFallbackFactory; |
|
@ -19,6 +20,7 @@ import org.springframework.cloud.openfeign.FeignClient; |
|
|
import org.springframework.context.annotation.Bean; |
|
|
import org.springframework.context.annotation.Bean; |
|
|
import org.springframework.http.MediaType; |
|
|
import org.springframework.http.MediaType; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
import org.springframework.web.bind.annotation.RequestPart; |
|
|
import org.springframework.web.bind.annotation.RequestPart; |
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
import org.springframework.web.multipart.MultipartFile; |
|
@ -72,7 +74,7 @@ public interface OssFeignClient { |
|
|
* @author wxz |
|
|
* @author wxz |
|
|
* @date 2021.08.05 16:28 |
|
|
* @date 2021.08.05 16:28 |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("oss/file/test-ribbon-rcv") |
|
|
@PostMapping("/oss/test/test-ribbon-rcv") |
|
|
Result testRibbonRcv(); |
|
|
Result testRibbonRcv(@RequestBody TestFormDTO input); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|