| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "cos-down") |
| | | @FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "cos-down") |
| | | public interface SFileService { |
| | | |
| | | /** |
| | |
| | | * @param file 文件 |
| | | * @param folderCode 存储文件夹,比如商品轮播图:/goods/banner |
| | | * @param bucketName 存储桶名称 |
| | | * @param fileName 文件名称(含后缀),如:test.xml |
| | | * @return |
| | | */ |
| | | @RequestMapping(value = "/cos/upload-multipart/name",consumes = MediaType.MULTIPART_FORM_DATA_VALUE) |