| | |
| | |
|
| | | import org.slf4j.Logger;
|
| | | import org.slf4j.LoggerFactory;
|
| | | import org.springframework.cloud.openfeign.FallbackFactory;
|
| | | import org.springframework.stereotype.Component;
|
| | | import org.springframework.web.multipart.MultipartFile;
|
| | | import com.ruoyi.common.core.domain.R;
|
| | | import com.ruoyi.system.api.RemoteFileService;
|
| | | import com.ruoyi.system.api.domain.SysFile;
|
| | | import feign.hystrix.FallbackFactory;
|
| | |
|
| | | /**
|
| | | * 文件服务降级处理
|
| | |
| | | {
|
| | | return R.fail("上传文件失败:" + throwable.getMessage());
|
| | | }
|
| | |
|
| | | @Override
|
| | | public R<Boolean> delete(String fileUrl)
|
| | | {
|
| | | return R.fail("删除文件失败:" + throwable.getMessage());
|
| | | }
|
| | | };
|
| | | }
|
| | | }
|