2024年10月9日 修改pom

This commit is contained in:
bai 2024-10-09 09:16:28 +08:00
parent 5e7caecc9c
commit 02672aee11
3 changed files with 25 additions and 25 deletions

View File

@ -257,22 +257,6 @@
<artifactId>jsch</artifactId> <artifactId>jsch</artifactId>
<version>0.1.55</version> <version>0.1.55</version>
</dependency> </dependency>
<!-- 引入libreoffice依赖-->
<dependency>
<groupId>org.jodconverter</groupId>
<artifactId>jodconverter-local</artifactId>
<version>${libreoffice.jodconverter-local.version}</version>
</dependency>
<dependency>
<groupId>org.libreoffice</groupId>
<artifactId>ridl</artifactId>
<version>${libreoffice.ridl.version}</version>
</dependency>
<dependency>
<groupId>org.jodconverter</groupId>
<artifactId>jodconverter-spring-boot-starter</artifactId>
<version>${libreoffice.jodconverter-spring-boot-starter.version}</version>
</dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -70,6 +70,22 @@
<groupId>org.springframework</groupId> <groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId> <artifactId>spring-test</artifactId>
</dependency> </dependency>
<!-- 引入libreoffice依赖-->
<dependency>
<groupId>org.jodconverter</groupId>
<artifactId>jodconverter-local</artifactId>
<version>${libreoffice.jodconverter-local.version}</version>
</dependency>
<dependency>
<groupId>org.libreoffice</groupId>
<artifactId>ridl</artifactId>
<version>${libreoffice.ridl.version}</version>
</dependency>
<dependency>
<groupId>org.jodconverter</groupId>
<artifactId>jodconverter-spring-boot-starter</artifactId>
<version>${libreoffice.jodconverter-spring-boot-starter.version}</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
<plugins> <plugins>

View File

@ -16,21 +16,21 @@ import org.springframework.web.bind.annotation.RestController;
/** /**
* @Description: 对外部访问接口 * @Description: 对外部访问接口
* @Author: jeecg-boot * @Author: jeecg-boot
* @Date: 2023-04-10 * @Date: 2023-04-10
* @Version: V1.0 * @Version: V1.0
*/ */
@Slf4j @Slf4j
@Api(tags="对外部访问接口") @Api(tags = "对外部访问接口")
@RestController @RestController
@RequestMapping("/temp") @RequestMapping("/temp")
public class testController extends JeecgController<TBks, ITBksService> { public class testController extends JeecgController<TBks, ITBksService> {
@AutoLog(value = "对外部访问接口-通过IDS访问奥威亚接口") @AutoLog(value = "对外部访问接口-通过IDS访问奥威亚接口")
@ApiOperation(value="T_BKS-抓取-通过id查询", notes="T_BKS-抓取-通过id查询") @ApiOperation(value = "T_BKS-抓取-通过id查询", notes = "T_BKS-抓取-通过id查询")
@GetMapping(value = "/testPDF") @GetMapping(value = "/testPDF")
public Result<?> runAvyApiByIds(String ids,String type){ public Result<?> runAvyApiByIds(String ids, String type) {
PDFUtil.office2PDF("F:\\temp\\test\\a.docx","F:\\temp\\test\\b.pdf"); PDFUtil.office2PDF("F:\\temp\\test\\a.docx", "F:\\temp\\test\\b.pdf");
return Result.OK(); return Result.OK();
} }
} }