From 9e1a75cb81c360ab1d2046fd98bd73b643d2b503 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期二, 14 十月 2025 16:55:02 +0800
Subject: [PATCH] 修改了对应的代码

---
 ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/DoublePdfGenerateController.java |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/DoublePdfGenerateController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/DoublePdfGenerateController.java
index 614d7d4..e8cf77c 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/DoublePdfGenerateController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/archive/DoublePdfGenerateController.java
@@ -11,6 +11,8 @@
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
+import java.io.IOException;
+
 import static com.ruoyi.common.core.page.TableSupport.PAGE_NUM;
 import static com.ruoyi.common.core.page.TableSupport.PAGE_SIZE;
 @Anonymous
@@ -22,9 +24,9 @@
     private IArchiveDoublePdfGenerateService iArchiveDoublePdfGenerateService;
 
     @GetMapping("/testConn")
-    public AjaxResult testCon()
-    {
-        iArchiveDoublePdfGenerateService.testConnection();
+    public AjaxResult testCon() throws IOException {
+        iArchiveDoublePdfGenerateService
+                .testConnection();
         return AjaxResult.success("2134");
     }
 }

--
Gitblit v1.9.1