|
@@ -5,6 +5,7 @@ import org.springblade.resource.vo.NewBladeFile;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
import org.springframework.http.MediaType;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
@FeignClient(
|
|
@@ -23,6 +24,6 @@ public interface CommonFileClient {
|
|
|
@PostMapping(value = API_PREFIX + "/excelToPdf", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
|
NewBladeFile excelToPdf(MultipartFile file);
|
|
|
|
|
|
- @PostMapping(value = API_PREFIX + "/getPdfNum", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
|
|
- String getPdfNum(String url);
|
|
|
+ @PostMapping(value = API_PREFIX + "/getPdfNum")
|
|
|
+ String getPdfNum(@RequestParam("url") String url);
|
|
|
}
|