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>
<version>0.1.55</version>
</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>
</project>

View File

@ -70,6 +70,22 @@
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
</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>
<build>
<plugins>

View File

@ -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<TBks, ITBksService> {
@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();
}
}