WANG 6 ani în urmă
părinte
comite
ff49eedfb0

+ 2 - 2
src/main/java/cn/com/qmth/examcloud/web/cloud/CloudClientSupport.java

@@ -14,14 +14,14 @@ import org.springframework.util.LinkedMultiValueMap;
 import org.springframework.util.MultiValueMap;
 import org.springframework.web.client.RestTemplate;
 
+import cn.com.qmth.examcloud.api.commons.exchange.BaseRequest;
+import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
 import cn.com.qmth.examcloud.commons.exception.StatusException;
 import cn.com.qmth.examcloud.commons.logging.ExamCloudLog;
 import cn.com.qmth.examcloud.commons.logging.ExamCloudLogFactory;
 import cn.com.qmth.examcloud.commons.util.JsonUtil;
 import cn.com.qmth.examcloud.commons.util.StringUtil;
 import cn.com.qmth.examcloud.commons.util.ThreadLocalUtil;
-import cn.com.qmth.examcloud.web.cloud.api.BaseRequest;
-import cn.com.qmth.examcloud.web.cloud.api.JsonSerializable;
 import cn.com.qmth.examcloud.web.redis.RedisClient;
 import cn.com.qmth.examcloud.web.support.StatusResponse;
 

+ 1 - 1
src/main/java/cn/com/qmth/examcloud/web/helpers/tree/EleTreeNode.java

@@ -2,7 +2,7 @@ package cn.com.qmth.examcloud.web.helpers.tree;
 
 import java.util.List;
 
-import cn.com.qmth.examcloud.web.cloud.api.JsonSerializable;
+import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
 
 /**
  * element-UI tree

+ 1 - 1
src/main/java/cn/com/qmth/examcloud/web/jpa/JpaEntity.java

@@ -10,7 +10,7 @@ import org.springframework.data.annotation.CreatedDate;
 import org.springframework.data.annotation.LastModifiedDate;
 import org.springframework.data.jpa.domain.support.AuditingEntityListener;
 
-import cn.com.qmth.examcloud.web.cloud.api.JsonSerializable;
+import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
 
 /**
  * JPA 数据库实体父类

+ 1 - 1
src/main/java/cn/com/qmth/examcloud/web/reports/BaseReport.java

@@ -2,7 +2,7 @@ package cn.com.qmth.examcloud.web.reports;
 
 import java.util.Date;
 
-import cn.com.qmth.examcloud.web.cloud.api.JsonSerializable;
+import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
 
 /**
  * 报表数据体基类

+ 2 - 2
src/main/java/cn/com/qmth/examcloud/web/security/RequestPermissionInterceptor.java

@@ -18,14 +18,14 @@ import org.springframework.web.servlet.ModelAndView;
 
 import com.google.common.collect.Sets;
 
+import cn.com.qmth.examcloud.api.commons.CloudService;
+import cn.com.qmth.examcloud.api.commons.EnterpriseService;
 import cn.com.qmth.examcloud.commons.logging.ExamCloudLog;
 import cn.com.qmth.examcloud.commons.logging.ExamCloudLogFactory;
 import cn.com.qmth.examcloud.commons.util.JsonUtil;
 import cn.com.qmth.examcloud.commons.util.PathUtil;
 import cn.com.qmth.examcloud.commons.util.RegExpUtil;
 import cn.com.qmth.examcloud.web.RedisKeys;
-import cn.com.qmth.examcloud.web.cloud.api.CloudService;
-import cn.com.qmth.examcloud.web.cloud.api.EnterpriseService;
 import cn.com.qmth.examcloud.web.redis.RedisClient;
 import cn.com.qmth.examcloud.web.security.bean.User;
 import cn.com.qmth.examcloud.web.support.ServletUtil;

+ 1 - 1
src/main/java/cn/com/qmth/examcloud/web/security/SpringCloudInterceptor.java

@@ -7,10 +7,10 @@ import org.springframework.http.HttpStatus;
 import org.springframework.web.servlet.HandlerInterceptor;
 import org.springframework.web.servlet.ModelAndView;
 
+import cn.com.qmth.examcloud.api.commons.CloudService;
 import cn.com.qmth.examcloud.commons.logging.ExamCloudLog;
 import cn.com.qmth.examcloud.commons.logging.ExamCloudLogFactory;
 import cn.com.qmth.examcloud.commons.util.ThreadLocalUtil;
-import cn.com.qmth.examcloud.web.cloud.api.CloudService;
 import cn.com.qmth.examcloud.web.redis.RedisClient;
 import cn.com.qmth.examcloud.web.support.ServletUtil;
 import cn.com.qmth.examcloud.web.support.StatusResponse;

+ 1 - 1
src/main/java/cn/com/qmth/examcloud/web/security/bean/User.java

@@ -3,7 +3,7 @@ package cn.com.qmth.examcloud.web.security.bean;
 import java.util.Date;
 import java.util.List;
 
-import cn.com.qmth.examcloud.web.cloud.api.JsonSerializable;
+import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
 
 /**
  * 用户

+ 2 - 2
src/main/java/cn/com/qmth/examcloud/web/support/ControllerAspect.java

@@ -16,14 +16,14 @@ import org.springframework.http.ResponseEntity;
 import org.springframework.stereotype.Component;
 
 import ch.qos.logback.classic.Logger;
+import cn.com.qmth.examcloud.api.commons.exchange.BaseResponse;
+import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
 import cn.com.qmth.examcloud.commons.logging.ExamCloudLog;
 import cn.com.qmth.examcloud.commons.logging.ExamCloudLogFactory;
 import cn.com.qmth.examcloud.commons.util.JsonUtil;
 import cn.com.qmth.examcloud.commons.util.ObjectUtil;
 import cn.com.qmth.examcloud.commons.util.StringUtil;
 import cn.com.qmth.examcloud.commons.util.ThreadLocalUtil;
-import cn.com.qmth.examcloud.web.cloud.api.BaseResponse;
-import cn.com.qmth.examcloud.web.cloud.api.JsonSerializable;
 import cn.com.qmth.examcloud.web.reports.BaseReport;
 import cn.com.qmth.examcloud.web.reports.ReportLoggerFactory;
 

+ 1 - 1
src/main/java/cn/com/qmth/examcloud/web/support/StatusResponse.java

@@ -1,6 +1,6 @@
 package cn.com.qmth.examcloud.web.support;
 
-import cn.com.qmth.examcloud.web.cloud.api.JsonSerializable;
+import cn.com.qmth.examcloud.api.commons.exchange.JsonSerializable;
 import io.swagger.annotations.ApiModelProperty;
 
 /**