|
|
@@ -12,6 +12,8 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
+import javax.annotation.PostConstruct;
|
|
|
+import javax.annotation.PreDestroy;
|
|
|
import java.io.*;
|
|
|
|
|
|
@Controller
|
|
|
@@ -63,4 +65,12 @@ public class Word2PDFController {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+ @PostConstruct
|
|
|
+ public void init() {
|
|
|
+ }
|
|
|
+
|
|
|
+ @PreDestroy
|
|
|
+ public void destroy() {
|
|
|
+ }
|
|
|
}
|