OFD转PNG接口调试

release
WangQi 2 years ago
parent 624b44b71c
commit 4c6974414c
  1. 4
      order-management-invoice/src/main/java/com/dxhy/order/invoice/module/invoice/controller/InvoiceDetailsController.java

@ -97,8 +97,8 @@ public class InvoiceDetailsController {
private String yxisuse;
@GetMapping("priviewOfd")
public R priviewOfd() throws IOException {
File file = new File("C:\\Users\\10216\\Desktop\\042002200113_04440777.ofd");
public R priviewOfd(@RequestParam("path") String path) throws IOException {
File file = new File(path);
FileInputStream fis = null;
ByteArrayOutputStream bos = new ByteArrayOutputStream(1000);

Loading…
Cancel
Save