Переглянути джерело

Merge branch 'dev_v4.1.0' of http://git.qmth.com.cn/examcloud-backend/examcloud-components.git into dev_v4.1.0

xiatian 4 роки тому
батько
коміт
55b3ba348e

+ 0 - 1
examcloud-reports-commons/src/main/java/cn/com/qmth/examcloud/reports/commons/util/ReportsUtil.java

@@ -29,7 +29,6 @@ import cn.com.qmth.examcloud.reports.commons.bean.BaseReport;
 import cn.com.qmth.examcloud.reports.commons.enums.MqType;
 import cn.com.qmth.examcloud.web.bootstrap.PropertyHolder;
 import cn.com.qmth.examcloud.web.support.ServletUtil;
-import sun.net.util.IPAddressUtil;
 
 public class ReportsUtil {
 

+ 2 - 4
examcloud-support/src/main/java/cn/com/qmth/examcloud/support/helper/ExamCacheTransferHelper.java

@@ -8,7 +8,6 @@
 package cn.com.qmth.examcloud.support.helper;
 
 import cn.com.qmth.examcloud.api.commons.enums.ExamSpecialSettingsType;
-import cn.com.qmth.examcloud.api.commons.enums.SubmitType;
 import cn.com.qmth.examcloud.commons.util.StringUtil;
 import cn.com.qmth.examcloud.support.cache.CacheHelper;
 import cn.com.qmth.examcloud.support.cache.bean.*;
@@ -17,7 +16,6 @@ import io.swagger.annotations.ApiOperation;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PathVariable;
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
 
 /**
  * @Description 网考缓存实体转换服务
@@ -70,7 +68,7 @@ public class ExamCacheTransferHelper {
                     break;
                 case COURSE_BASED:
                     //暂无此需求
-                    throw new NotImplementedException();
+                    throw new RuntimeException();
             }
         }
         return examBean;
@@ -125,7 +123,7 @@ public class ExamCacheTransferHelper {
                     break;
                 case COURSE_BASED:
                     //暂无此需求
-                    throw new NotImplementedException();
+                    throw new RuntimeException();
             }
             if (specialExamProperty.getHasValue()) {
                 return specialExamProperty;

+ 1 - 5
examcloud-web/pom.xml

@@ -86,13 +86,9 @@
             <optional>true</optional>
         </dependency>
 
-        <dependency>
-            <groupId>io.springfox</groupId>
-            <artifactId>springfox-swagger2</artifactId>
-        </dependency>
         <dependency>
             <groupId>com.github.xiaoymin</groupId>
-            <artifactId>swagger-bootstrap-ui</artifactId>
+            <artifactId>knife4j-spring-boot-starter</artifactId>
         </dependency>
 
         <dependency>