2024年10月9日 修改pom
This commit is contained in:
parent
5e7caecc9c
commit
02672aee11
|
@ -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>
|
|
@ -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>
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue