|
|
@ -8,6 +8,7 @@ |
|
|
|
|
|
|
|
package com.epmet.feign; |
|
|
|
|
|
|
|
import com.epmet.commons.tools.constant.ServiceConstant; |
|
|
|
import feign.codec.Encoder; |
|
|
|
import feign.form.spring.SpringFormEncoder; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
@ -25,7 +26,7 @@ import org.springframework.web.multipart.MultipartFile; |
|
|
|
* @author Mark sunlightcs@gmail.c om |
|
|
|
* @since 1.1.0 |
|
|
|
*/ |
|
|
|
@FeignClient(name = "renren-oss-server", configuration = OssFeignClient.MultipartSupportConfig.class) |
|
|
|
@FeignClient(name = ServiceConstant.EPMET_OSS_SERVER, configuration = OssFeignClient.MultipartSupportConfig.class) |
|
|
|
public interface OssFeignClient { |
|
|
|
/** |
|
|
|
* 文件上传 |
|
|
|