xiongzhu %!s(int64=4) %!d(string=hai) anos
pai
achega
319af5949b

+ 10 - 0
src/main/java/com/izouma/awesomeAdmin/web/Word2PDFController.java

@@ -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() {
+    }
 }