diff --git a/file-common/pom.xml b/file-common/pom.xml index 45888e7..0608dd0 100644 --- a/file-common/pom.xml +++ b/file-common/pom.xml @@ -41,12 +41,9 @@ io.jsonwebtoken jjwt - 0.6.0 + 0.9.1 - - - - + diff --git a/file-common/src/main/java/com/qiwenshare/common/upload/factory/UploaderFactory.java b/file-common/src/main/java/com/qiwenshare/common/upload/factory/UploaderFactory.java index f9c7af3..7d421d5 100644 --- a/file-common/src/main/java/com/qiwenshare/common/upload/factory/UploaderFactory.java +++ b/file-common/src/main/java/com/qiwenshare/common/upload/factory/UploaderFactory.java @@ -4,6 +4,6 @@ import com.qiwenshare.common.domain.UploadFile; import com.qiwenshare.common.upload.Uploader; public interface UploaderFactory { - public Uploader getUploader(); - public Uploader getUploader(UploadFile uploadFile); + Uploader getUploader(); + Uploader getUploader(UploadFile uploadFile); } diff --git a/file-common/src/main/java/com/qiwenshare/common/util/JjwtUtil.java b/file-common/src/main/java/com/qiwenshare/common/util/JjwtUtil.java index 8143c98..59f0fa9 100644 --- a/file-common/src/main/java/com/qiwenshare/common/util/JjwtUtil.java +++ b/file-common/src/main/java/com/qiwenshare/common/util/JjwtUtil.java @@ -24,7 +24,6 @@ public class JjwtUtil { // 过期时间,单位毫秒 public static final int EXPIRE_TIME = 60 * 60 * 1000 * 24 * 7; // 一个星期 -// public static final long EXPIRE_TIME = 7 * 24 * 3600 * 1000; // 一个星期 // 由字符串生成加密key public static SecretKey generalKey() { @@ -46,7 +45,7 @@ public class JjwtUtil { // 指定header那部分签名的时候使用的签名算法,jjwt已经将这部分内容封装好了,只有{"alg":"HS256"} SignatureAlgorithm signatureAlgorithm = SignatureAlgorithm.HS256; // 创建payload的私有声明(根据特定的业务需要添加,如果要拿这个做验证,一般是需要和jwt的接收方提前沟通好验证的方式) - Map claims = new HashMap<>(); + Map claims = new HashMap<>(2); claims.put("username", "admin"); claims.put("password", "010203"); // jti用户id,例如:20da39f8-b74e-4a9b-9a0f-a39f1f73fe64 diff --git a/file-office/pom.xml b/file-office/pom.xml deleted file mode 100644 index 76d8221..0000000 --- a/file-office/pom.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - file - com.qiwenshare - 1.0-SNAPSHOT - - 4.0.0 - - file-office - 1.0.0-SNAPSHOT - - - com.aspose - aspose-words - 16.8.0 - - - com.aspose - aspose-cells - 9.0.0 - - - com.aspose - aspose-slides - 16.7.0 - - - \ No newline at end of file diff --git a/file-office/src/main/java/com/qiwenshare/office/test/Test.java b/file-office/src/main/java/com/qiwenshare/office/test/Test.java deleted file mode 100644 index 796463a..0000000 --- a/file-office/src/main/java/com/qiwenshare/office/test/Test.java +++ /dev/null @@ -1,159 +0,0 @@ -package com.qiwenshare.office.test; - - -import com.qiwenshare.office.utils.AsposeUtil; - -public class Test { - -// private static void testWord(String path_word, String pafpath) throws Exception { -// String word1 = path_word + "01正方数字.docx"; -// String word2 = path_word + "02正方数字.docx"; -// String word3 = path_word + "03正方数字.doc"; -// String word4 = path_word + "04正方数字.doc"; -// String word5 = path_word + "05正方数字.docx"; -// String word6 = path_word + "06正方数字.doc"; -// -// OpenOfficeUtils.toPdf(word1, pafpath + "Open-word-01测试.pdf"); -// OpenOfficeUtils.toPdf(word2, pafpath + "Open-word-02测试.pdf"); -// OpenOfficeUtils.toPdf(word3, pafpath + "Open-word-03测试.pdf"); -// OpenOfficeUtils.toPdf(word4, pafpath + "Open-word-04测试.pdf"); -// OpenOfficeUtils.toPdf(word5, pafpath + "Open-word-05测试.pdf"); -// OpenOfficeUtils.toPdf(word6, pafpath + "Open-word-06测试.pdf"); -// -// } -// -// private static void testWord2(String path_word, String pafpath) throws Exception { -// String word1 = path_word + "01.docx"; -// String word2 = path_word + "02.docx"; -// String word3 = path_word + "03.doc"; -// String word4 = path_word + "04.doc"; -// String word5 = path_word + "05.docx"; -// String word6 = path_word + "06.doc"; -// -// OpenOfficeUtils.toPdf(word1, pafpath + "Open-word-01.pdf"); -// OpenOfficeUtils.toPdf(word2, pafpath + "Open-word-02.pdf"); -// OpenOfficeUtils.toPdf(word3, pafpath + "Open-word-03.pdf"); -// OpenOfficeUtils.toPdf(word4, pafpath + "Open-word-04.pdf"); -// OpenOfficeUtils.toPdf(word5, pafpath + "Open-word-05.pdf"); -// OpenOfficeUtils.toPdf(word6, pafpath + "Open-word-06.pdf"); -// -// } -// -// private static void testTxt(String path_word, String pafpath) throws Exception { -// String txt1 = path_word + "01jvm.txt"; -// String txt2 = path_word + "02jvm.txt"; -// String txt3 = path_word + "03jvm.txt"; -// -// OpenOfficeUtils.toPdf(txt1, pafpath + "Open-txt-01测试.pdf"); -// OpenOfficeUtils.toPdf(txt2, pafpath + "Open-txt-02测试.pdf"); -// OpenOfficeUtils.toPdf(txt3, pafpath + "Open-txt-03测试.pdf"); -// } -// -// private static void testTxt2(String path_word, String pafpath) throws Exception { -// String txt1 = path_word + "01jvm.txt"; -// String txt2 = path_word + "02jvm.txt"; -// String txt3 = path_word + "03jvm.txt"; -// -// OpenOfficeUtils.toPdf(txt1, pafpath + "Open-txt-01.pdf"); -// OpenOfficeUtils.toPdf(txt2, pafpath + "Open-txt-02.pdf"); -// OpenOfficeUtils.toPdf(txt3, pafpath + "Open-txt-03.pdf"); -// } -// -// private static void testExcel(String path_word, String pafpath) throws Exception { -// String txt1 = path_word + "01部门开发任务管理.xlsx"; -// String txt2 = path_word + "02部门开发任务管理.xlsx"; -// String txt3 = path_word + "03部门开发任务管理.xlsx"; -// -// OpenOfficeUtils.toPdf(txt1, pafpath + "Open-excel-01测试.pdf"); -// OpenOfficeUtils.toPdf(txt2, pafpath + "Open-excel-02测试.pdf"); -// OpenOfficeUtils.toPdf(txt3, pafpath + "Open-excel-03测试.pdf"); -// } -// -// private static void testExcel2(String path_word, String pafpath) throws Exception { -// String txt1 = path_word + "01.xlsx"; -// String txt2 = path_word + "02.xlsx"; -// String txt3 = path_word + "03.xlsx"; -// -// OpenOfficeUtils.toPdf(txt1, pafpath + "Open-excel-01.pdf"); -// OpenOfficeUtils.toPdf(txt2, pafpath + "Open-excel-02.pdf"); -// OpenOfficeUtils.toPdf(txt3, pafpath + "Open-excel-03.pdf"); -// } -// -// private static void testPPt(String path_ppt, String pafpath) throws Exception { -// String txt1 = path_ppt + "01jquery培训.pptx"; -// String txt2 = path_ppt + "02jquery培训.pptx"; -// String txt3 = path_ppt + "03jquery培训.ppt"; -// -// OpenOfficeUtils.toPdf(txt1, pafpath + "Open-ppt-01测试.pdf"); -// OpenOfficeUtils.toPdf(txt2, pafpath + "Open-ppt-02测试.pdf"); -// OpenOfficeUtils.toPdf(txt3, pafpath + "Open-ppt-03测试.pdf"); -// } -// -// private static void testPPt2(String path_ppt, String pafpath) throws Exception { -// String txt1 = path_ppt + "01jquery.pptx"; -// String txt2 = path_ppt + "02jquery.pptx"; -// String txt3 = path_ppt + "03jquery培训.ppt"; -// -// OpenOfficeUtils.toPdf(txt1, pafpath + "Open-ppt-01.pdf"); -// OpenOfficeUtils.toPdf(txt2, pafpath + "Open-ppt-02.pdf"); -// OpenOfficeUtils.toPdf(txt3, pafpath + "Open-ppt-03.pdf"); -// } -// -// public static void LinuxTest() throws Exception { -// String path_word = "/software/songyan/hah/01word/"; -// String path_txt = "/software/songyan/hah/02txt/"; -// String path_excel = "/software/songyan/hah/03excel/"; -// String path_ppt = "/software/songyan/hah/04ppt/"; -// String pafpath = "/software/songyan/hah/pdf/"; -// -// System.out.println("************************"); -// testTxt(path_txt, pafpath); -// System.out.println("************************"); -// testExcel(path_excel, pafpath); -// System.out.println("************************"); -// testPPt(path_ppt, pafpath); -// System.out.println("************************"); -// testWord(path_word, pafpath); -// } -// -// public static void LinuxTest2() throws Exception { -// String path_word = "/software/songyan/hah/01word/"; -// String path_txt = "/software/songyan/hah/02txt/"; -// String path_excel = "/software/songyan/hah/03excel/"; -// String path_ppt = "/software/songyan/hah/04ppt/"; -// String pafpath = "/software/songyan/hah/pdf/"; -// -// System.out.println("************************"); -// testTxt2(path_txt, pafpath); -// System.out.println("************************"); -// testExcel2(path_excel, pafpath); -// System.out.println("************************"); -// testPPt2(path_ppt, pafpath); -// System.out.println("************************"); -// testWord2(path_word, pafpath); -// } -// -// public static void winTest() throws Exception { -// String path_word = "C:/Users/Administrator.DESKTOP-QN9A3AA/Desktop/office/测试文档/转换前文档/01word/"; -// String path_txt = "C:/Users/Administrator.DESKTOP-QN9A3AA/Desktop/office/测试文档/转换前文档/02txt/"; -// String path_excel = "C:/Users/Administrator.DESKTOP-QN9A3AA/Desktop/office/测试文档/转换前文档/03excel/"; -// String path_ppt = "C:/Users/Administrator.DESKTOP-QN9A3AA/Desktop/office/测试文档/转换前文档/04ppt/"; -// String pafpath = "C:/Users/Administrator.DESKTOP-QN9A3AA/Desktop/office/测试文档/pdf/"; -// -// System.out.println("************************"); -// testWord(path_word, pafpath); -// System.out.println("************************"); -// testTxt(path_txt, pafpath); -// System.out.println("************************"); -// testExcel(path_excel, pafpath); -// System.out.println("************************"); -// testPPt(path_ppt, pafpath); -// } - - public static void main(String[] args) throws Exception { - //AsposeUtil.trans("C:\\Users\\machaop\\Desktop\\jci操作手册.docx", "D:\\Downloads\\jci.pdf", "word"); - //AsposeUtil.trans("C:\\Users\\machaop\\Desktop\\ZDB_统一支付清算平台_接口说明书_V1.2-20210202.xlsx", "D:\\Downloads\\ZDB_统一支付清算平台_接口说明书_V1.2-20210202.pdf", "excel"); - AsposeUtil.trans("C:\\Users\\machaop\\Desktop\\Java10(企业级数据库之oracle安装).ppt", "D:\\Downloads\\Java10.pdf", "ppt"); -// winTest(); - } -} \ No newline at end of file diff --git a/file-office/src/main/java/com/qiwenshare/office/utils/AsposeUtil.java b/file-office/src/main/java/com/qiwenshare/office/utils/AsposeUtil.java deleted file mode 100644 index 575de52..0000000 --- a/file-office/src/main/java/com/qiwenshare/office/utils/AsposeUtil.java +++ /dev/null @@ -1,109 +0,0 @@ -package com.qiwenshare.office.utils; - -import java.io.*; - -import com.aspose.cells.Workbook; -import com.aspose.slides.Presentation; -import com.aspose.words.*; - - -public class AsposeUtil { - - //校验license - private static boolean judgeLicense() { - boolean result = false; - try { - InputStream is = AsposeUtil.class.getClassLoader().getResourceAsStream("license.xml"); - License aposeLic = new License(); - aposeLic.setLicense(is); - result = true; - } catch (Exception e) { - e.printStackTrace(); - } - return result; - } - - // 转换 - public static void trans(String filePath, String pdfPath, String type) { - if (!judgeLicense()) { - System.out.println("license错误"); - } - try { - System.out.println("as开始:" + filePath); - long old = System.currentTimeMillis(); - File file = new File(pdfPath); - toPdf(file, filePath, type); - long now = System.currentTimeMillis(); - System.out.println("完成:" + pdfPath); - System.out.println("共耗时:" + ((now - old) / 1000.0) + "秒"); - } catch (Exception e) { - e.printStackTrace(); - } - } - - private static void toPdf(File file, String filePath, String type) { - if ("word".equals(type) || "txt".equals(type)) { - wordofpdf(file, filePath); - } else if ("excel".equals(type)) { - exceOfPdf(file, filePath); - } else if ("ppt".equals(type)) { - pptofpdf(file, filePath); - }else{ - System.out.println("暂不支持该类型:"+type); - } - } - - private static void wordofpdf(File file, String filePath) { - FileOutputStream os = null; - Document doc; - try { - os = new FileOutputStream(file); - doc = new Document(filePath); - doc.save(os, com.aspose.words.SaveFormat.PDF); - } catch (Exception e) { - e.printStackTrace(); - } finally { - try { - os.close(); - } catch (IOException e) { - e.printStackTrace(); - } - } - } - - private static void exceOfPdf(File file, String filePath) { - FileOutputStream os = null; - try { - os = new FileOutputStream(file); - Workbook wb = new Workbook(filePath); - wb.save(os, com.aspose.cells.SaveFormat.PDF); - } catch (Exception e) { - e.printStackTrace(); - } finally { - try { - os.close(); - } catch (IOException e) { - e.printStackTrace(); - } - } - } -// - private static void pptofpdf(File file, String filePath) { - FileOutputStream os = null; - try { - os = new FileOutputStream(file); - Presentation pres = new Presentation(filePath);// 输入pdf路径 - pres.save(os, com.aspose.slides.SaveFormat.Pdf); - } catch (Exception e) { - e.printStackTrace(); - } finally { - try { - os.close(); - } catch (IOException e) { - e.printStackTrace(); - } - } - - } - -} \ No newline at end of file diff --git a/file-office/src/main/resources/lib/aspose-cells-9.0.0.jar b/file-office/src/main/resources/lib/aspose-cells-9.0.0.jar deleted file mode 100644 index 562dcbb..0000000 Binary files a/file-office/src/main/resources/lib/aspose-cells-9.0.0.jar and /dev/null differ diff --git a/file-office/src/main/resources/lib/aspose-words-16.8.0-jdk16.jar b/file-office/src/main/resources/lib/aspose-words-16.8.0-jdk16.jar deleted file mode 100644 index 8433d9e..0000000 Binary files a/file-office/src/main/resources/lib/aspose-words-16.8.0-jdk16.jar and /dev/null differ diff --git a/file-office/src/main/resources/lib/aspose.slides-16.7.0.jar b/file-office/src/main/resources/lib/aspose.slides-16.7.0.jar deleted file mode 100644 index 492ffa7..0000000 Binary files a/file-office/src/main/resources/lib/aspose.slides-16.7.0.jar and /dev/null differ diff --git a/file-office/src/main/resources/license.xml b/file-office/src/main/resources/license.xml deleted file mode 100644 index 2a69d76..0000000 --- a/file-office/src/main/resources/license.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - Aspose.Total for Java - Aspose.Words for Java - - Enterprise - 20991231 - 20991231 - 8bfe198c-7f0c-4ef8-8ff0-acc3237bf0d7 - - sNLLKGMUdF0r8O1kKilWAGdgfs2BvJb/2Xp8p5iuDVfZXmhppo+d0Ran1P9TKdjV4ABwAgKXxJ3jcQTqE/2IRfqwnPf8itN8aFZlV3TJPYeD3yWE7IT55Gz6EijUpC7aKeoohTb4w2fpox58wWoF3SNp6sK6jDfiAUGEHYJ9pjU= - \ No newline at end of file diff --git a/file-web/src/main/java/com/qiwenshare/file/controller/FileController.java b/file-web/src/main/java/com/qiwenshare/file/controller/FileController.java index 19c9a66..04cf228 100644 --- a/file-web/src/main/java/com/qiwenshare/file/controller/FileController.java +++ b/file-web/src/main/java/com/qiwenshare/file/controller/FileController.java @@ -53,7 +53,6 @@ public class FileController { public static final String CURRENT_MODULE = "文件接口"; - public static int COMPLETE_COUNT = 0; public static long treeid = 0; diff --git a/file-web/src/main/java/com/qiwenshare/file/controller/RecoveryFileController.java b/file-web/src/main/java/com/qiwenshare/file/controller/RecoveryFileController.java index 93fa660..a4d00f3 100644 --- a/file-web/src/main/java/com/qiwenshare/file/controller/RecoveryFileController.java +++ b/file-web/src/main/java/com/qiwenshare/file/controller/RecoveryFileController.java @@ -15,7 +15,7 @@ import com.qiwenshare.file.domain.UserBean; import com.qiwenshare.file.domain.UserFile; import com.qiwenshare.file.dto.BatchDeleteRecoveryFileDTO; import com.qiwenshare.file.dto.DeleteRecoveryFileDTO; -import com.qiwenshare.file.dto.recoveryfile.RestoreFileDto; +import com.qiwenshare.file.dto.recoveryfile.RestoreFileDTO; import com.qiwenshare.file.vo.file.RecoveryFileListVo; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; @@ -91,7 +91,7 @@ public class RecoveryFileController { @RequestMapping(value = "/restorefile", method = RequestMethod.POST) @MyLog(operation = "还原文件", module = CURRENT_MODULE) @ResponseBody - public RestResult restoreFile(@RequestBody RestoreFileDto restoreFileDto, @RequestHeader("token") String token) { + public RestResult restoreFile(@RequestBody RestoreFileDTO restoreFileDto, @RequestHeader("token") String token) { UserBean sessionUserBean = userService.getUserBeanByToken(token); LambdaUpdateWrapper userFileLambdaUpdateWrapper = new LambdaUpdateWrapper<>(); userFileLambdaUpdateWrapper.set(UserFile::getDeleteFlag, 0) @@ -112,7 +112,7 @@ public class RecoveryFileController { UserFile userFile = new UserFile(); userFile.setUserId(sessionUserBean.getUserId()); userFile.setFileName(fileName); - userFile.setFilePath(filePath); + userFile.setFilePath(filePath + "/"); userFile.setDeleteFlag(0); userFile.setIsDir(1); userFile.setUploadTime(DateUtil.getCurrentTime()); diff --git a/file-web/src/main/java/com/qiwenshare/file/domain/OperationLogBean.java b/file-web/src/main/java/com/qiwenshare/file/domain/OperationLogBean.java index 5de8b25..eb560f6 100644 --- a/file-web/src/main/java/com/qiwenshare/file/domain/OperationLogBean.java +++ b/file-web/src/main/java/com/qiwenshare/file/domain/OperationLogBean.java @@ -23,7 +23,7 @@ public class OperationLogBean { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @TableId(type = IdType.AUTO) - private long operationLogId; + private Long operationLogId; /** * 用户id diff --git a/file-web/src/main/java/com/qiwenshare/file/domain/StorageBean.java b/file-web/src/main/java/com/qiwenshare/file/domain/StorageBean.java index d9c0da4..c698a5e 100644 --- a/file-web/src/main/java/com/qiwenshare/file/domain/StorageBean.java +++ b/file-web/src/main/java/com/qiwenshare/file/domain/StorageBean.java @@ -1,5 +1,7 @@ package com.qiwenshare.file.domain; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; @@ -17,6 +19,7 @@ public class StorageBean { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(columnDefinition="bigint(20)") + @TableId(type = IdType.AUTO) private Long storageId; @Column(columnDefinition="bigint(20)") diff --git a/file-web/src/main/java/com/qiwenshare/file/domain/UserBean.java b/file-web/src/main/java/com/qiwenshare/file/domain/UserBean.java index 0c5653e..d809a2f 100644 --- a/file-web/src/main/java/com/qiwenshare/file/domain/UserBean.java +++ b/file-web/src/main/java/com/qiwenshare/file/domain/UserBean.java @@ -1,6 +1,8 @@ package com.qiwenshare.file.domain; +import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import lombok.Data; @@ -24,6 +26,7 @@ public class UserBean { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(columnDefinition = "bigint(20)") + @TableId(type = IdType.AUTO) private Long userId; @Column(columnDefinition = "varchar(30)") diff --git a/file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/BatchDeleteRecoveryFileDto.java b/file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/BatchDeleteRecoveryFileDTO.java similarity index 63% rename from file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/BatchDeleteRecoveryFileDto.java rename to file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/BatchDeleteRecoveryFileDTO.java index b01eab0..dbfdc64 100644 --- a/file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/BatchDeleteRecoveryFileDto.java +++ b/file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/BatchDeleteRecoveryFileDTO.java @@ -2,7 +2,8 @@ package com.qiwenshare.file.dto.recoveryfile; import io.swagger.v3.oas.annotations.media.Schema; -public class BatchDeleteRecoveryFileDto { +@Schema(name = "批量删除回收文件DTO",required = true) +public class BatchDeleteRecoveryFileDTO { @Schema(description="恢复文件集合") private String recoveryFiles; } diff --git a/file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/RestoreFileDTO.java b/file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/RestoreFileDTO.java new file mode 100644 index 0000000..48c3b84 --- /dev/null +++ b/file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/RestoreFileDTO.java @@ -0,0 +1,13 @@ +package com.qiwenshare.file.dto.recoveryfile; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +@Data +@Schema(name = "回收文件DTO",required = true) +public class RestoreFileDTO { + @Schema(description="删除批次号") + private String deleteBatchNum; + @Schema(description="文件路径") + private String filePath; +} diff --git a/file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/RestoreFileDto.java b/file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/RestoreFileDto.java deleted file mode 100644 index 5d8eabd..0000000 --- a/file-web/src/main/java/com/qiwenshare/file/dto/recoveryfile/RestoreFileDto.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.qiwenshare.file.dto.recoveryfile; - -import lombok.Data; - -@Data -public class RestoreFileDto { - private String deleteBatchNum; - private String filePath; -} diff --git a/install.bat b/install.bat index 7a5a70e..2338fc4 100644 --- a/install.bat +++ b/install.bat @@ -1,7 +1,4 @@ set settingDir=file-common/src/main/resources/conf/settings.xml -call mvn install:install-file -s %settingDir% -DgroupId=com.aspose -DartifactId=aspose-words -Dversion=16.8.0 -Dpackaging=jar -Dfile=file-office/src/main/resources/lib/aspose-words-16.8.0-jdk16.jar -call mvn install:install-file -s %settingDir% -DgroupId=com.aspose -DartifactId=aspose-slides -Dversion=16.7.0 -Dpackaging=jar -Dfile=file-office/src/main/resources/lib/aspose.slides-16.7.0.jar -call mvn install:install-file -s %settingDir% -DgroupId=com.aspose -DartifactId=aspose-cells -Dversion=9.0.0 -Dpackaging=jar -Dfile=file-office/src/main/resources/lib/aspose-cells-9.0.0.jar mvn install -s %settingDir% pause \ No newline at end of file diff --git a/pom.xml b/pom.xml index b5295f4..b856b45 100644 --- a/pom.xml +++ b/pom.xml @@ -31,12 +31,16 @@ org.apache.commons commons-lang3 - - com.github.xiaoymin - knife4j-spring-boot-starter - 3.0.2 + org.springdoc + springdoc-openapi-ui + 1.5.4 + + + + +