From 00d8a48f18f978ba4bf0f28a8c8eb35912f1dc52 Mon Sep 17 00:00:00 2001 From: chenjianxing Date: Fri, 7 May 2021 11:35:09 +0800 Subject: [PATCH] =?UTF-8?q?reafactor:=20markdown=20=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E5=AF=8C=E6=96=87=E6=9C=AC=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../base/mapper/ext/ExtTestCaseMapper.xml | 3 +- .../metersphere/commons/utils/FileUtils.java | 40 +++++++++++ .../metersphere/commons/utils/ShiroUtils.java | 1 + .../controller/ResourceController.java | 39 +++++++++++ .../controller/request/MdUploadRequest.java | 10 +++ .../metersphere/service/JarConfigService.java | 52 +++----------- .../metersphere/service/ResourceService.java | 46 +++++++++++++ frontend/package.json | 1 + .../case/components/FormRichTextItem.vue | 69 +++++++++++++++++-- .../track/case/components/TestCaseEdit.vue | 6 +- .../case/components/TestCaseEditOtherInfo.vue | 9 ++- .../track/common/minder/TestCaseMinder.vue | 5 ++ .../track/common/minder/minderUtils.js | 31 ++++++--- frontend/src/business/main.js | 5 ++ 14 files changed, 253 insertions(+), 64 deletions(-) create mode 100644 backend/src/main/java/io/metersphere/controller/ResourceController.java create mode 100644 backend/src/main/java/io/metersphere/controller/request/MdUploadRequest.java create mode 100644 backend/src/main/java/io/metersphere/service/ResourceService.java diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml index 0cd2cabf1b..465c53f4f3 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestCaseMapper.xml @@ -415,7 +415,8 @@