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