From 02672aee115b32fd925548873385b1909abad43a Mon Sep 17 00:00:00 2001 From: bai <1643359946@qq.com> Date: Wed, 9 Oct 2024 09:16:28 +0800 Subject: [PATCH] =?UTF-8?q?2024=E5=B9=B410=E6=9C=889=E6=97=A5=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9pom?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecg-boot-base-core/pom.xml | 16 ---------------- jeecg-module-main/pom.xml | 16 ++++++++++++++++ .../controller/testController.java | 18 +++++++++--------- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/jeecg-boot-base-core/pom.xml b/jeecg-boot-base-core/pom.xml index 5b327bc0..f885dca7 100644 --- a/jeecg-boot-base-core/pom.xml +++ b/jeecg-boot-base-core/pom.xml @@ -257,22 +257,6 @@ jsch 0.1.55 - - - org.jodconverter - jodconverter-local - ${libreoffice.jodconverter-local.version} - - - org.libreoffice - ridl - ${libreoffice.ridl.version} - - - org.jodconverter - jodconverter-spring-boot-starter - ${libreoffice.jodconverter-spring-boot-starter.version} - \ No newline at end of file diff --git a/jeecg-module-main/pom.xml b/jeecg-module-main/pom.xml index b5ead643..5e418b20 100644 --- a/jeecg-module-main/pom.xml +++ b/jeecg-module-main/pom.xml @@ -70,6 +70,22 @@ org.springframework spring-test + + + org.jodconverter + jodconverter-local + ${libreoffice.jodconverter-local.version} + + + org.libreoffice + ridl + ${libreoffice.ridl.version} + + + org.jodconverter + jodconverter-spring-boot-starter + ${libreoffice.jodconverter-spring-boot-starter.version} + diff --git a/jeecg-module-main/src/main/java/org/jeecg/modules/httpinterface/controller/testController.java b/jeecg-module-main/src/main/java/org/jeecg/modules/httpinterface/controller/testController.java index b3b41f07..e30a19e2 100644 --- a/jeecg-module-main/src/main/java/org/jeecg/modules/httpinterface/controller/testController.java +++ b/jeecg-module-main/src/main/java/org/jeecg/modules/httpinterface/controller/testController.java @@ -16,21 +16,21 @@ import org.springframework.web.bind.annotation.RestController; /** * @Description: 对外部访问接口 * @Author: jeecg-boot - * @Date: 2023-04-10 + * @Date: 2023-04-10 * @Version: V1.0 */ @Slf4j -@Api(tags="对外部访问接口") +@Api(tags = "对外部访问接口") @RestController @RequestMapping("/temp") public class testController extends JeecgController { - @AutoLog(value = "对外部访问接口-通过IDS访问奥威亚接口") - @ApiOperation(value="T_BKS-抓取-通过id查询", notes="T_BKS-抓取-通过id查询") - @GetMapping(value = "/testPDF") - public Result runAvyApiByIds(String ids,String type){ - PDFUtil.office2PDF("F:\\temp\\test\\a.docx","F:\\temp\\test\\b.pdf"); - return Result.OK(); - } + @AutoLog(value = "对外部访问接口-通过IDS访问奥威亚接口") + @ApiOperation(value = "T_BKS-抓取-通过id查询", notes = "T_BKS-抓取-通过id查询") + @GetMapping(value = "/testPDF") + public Result runAvyApiByIds(String ids, String type) { + PDFUtil.office2PDF("F:\\temp\\test\\a.docx", "F:\\temp\\test\\b.pdf"); + return Result.OK(); + } }