Commit c3927772262f741b55de6a540dc4d0f6c54a25d1

Authored by 王言钊
1 parent fefacc4e

优化:将无用的包引用自动删除

Showing 23 changed files with 30 additions and 176 deletions
src/main/java/com/cnlive/shenhe/api/AvsampleCallBackControllerApi.java
1 1 package com.cnlive.shenhe.api;
2 2  
3 3 import com.alibaba.fastjson.JSONObject;
4   -import com.cnlive.shenhe.bean.ErrorEnum;
5   -import com.cnlive.shenhe.bean.ResponseBean;
6 4 import com.cnlive.shenhe.entity.ShyVideos;
7 5 import com.cnlive.shenhe.serviceImpl.VideosServiceImpl;
8 6 import com.cnlive.shenhe.utils.CommonConst;
... ... @@ -10,15 +8,8 @@ import com.cnlive.shenhe.utils.CommonUtils;
10 8 import org.slf4j.Logger;
11 9 import org.slf4j.LoggerFactory;
12 10 import org.springframework.beans.factory.annotation.Autowired;
13   -import org.springframework.beans.factory.annotation.Value;
14 11 import org.springframework.stereotype.Controller;
15   -import org.springframework.ui.Model;
16   -import org.springframework.web.bind.annotation.GetMapping;
17   -import org.springframework.web.bind.annotation.PostMapping;
18   -import org.springframework.web.bind.annotation.RequestBody;
19   -import org.springframework.web.bind.annotation.RequestMapping;
20   -import org.springframework.web.bind.annotation.ResponseBody;
21   -import org.springframework.web.servlet.ModelAndView;
  12 +import org.springframework.web.bind.annotation.*;
22 13  
23 14 import java.util.List;
24 15  
... ...
src/main/java/com/cnlive/shenhe/api/ChannelControllerApi.java
... ... @@ -5,7 +5,6 @@ import com.cnlive.shenhe.bean.ErrorEnum;
5 5 import com.cnlive.shenhe.bean.ResponseBean;
6 6 import com.cnlive.shenhe.entity.ShyChannel;
7 7 import com.cnlive.shenhe.serviceImpl.ChannelServiceImpl;
8   -import com.cnlive.shenhe.utils.AuditPass;
9 8 import com.cnlive.shenhe.utils.CommonConst;
10 9 import com.cnlive.shenhe.utils.CommonUtils;
11 10 import org.slf4j.Logger;
... ...
src/main/java/com/cnlive/shenhe/api/CommentsControllerApi.java
... ... @@ -4,7 +4,6 @@ import com.alibaba.fastjson.JSONObject;
4 4 import com.cnlive.shenhe.bean.ErrorEnum;
5 5 import com.cnlive.shenhe.bean.ResponseBean;
6 6 import com.cnlive.shenhe.entity.ShyComments;
7   -import com.cnlive.shenhe.entity.ShyTopic;
8 7 import com.cnlive.shenhe.serviceImpl.CommentsServiceImpl;
9 8 import com.cnlive.shenhe.serviceImpl.TopicServiceImpl;
10 9 import com.cnlive.shenhe.utils.AuditPass;
... ... @@ -13,7 +12,6 @@ import com.cnlive.shenhe.utils.CommonUtils;
13 12 import org.slf4j.Logger;
14 13 import org.slf4j.LoggerFactory;
15 14 import org.springframework.beans.factory.annotation.Autowired;
16   -import org.springframework.beans.factory.annotation.Value;
17 15 import org.springframework.stereotype.Controller;
18 16 import org.springframework.web.bind.annotation.PostMapping;
19 17 import org.springframework.web.bind.annotation.RequestMapping;
... ...
src/main/java/com/cnlive/shenhe/api/LiveApplyControllerApi.java
1 1 package com.cnlive.shenhe.api;
2 2  
3   -import com.alibaba.fastjson.JSON;
4   -import com.alibaba.fastjson.JSONArray;
5 3 import com.alibaba.fastjson.JSONObject;
6   -import com.cnlive.shenhe.bean.ErrorEnum;
7   -import com.cnlive.shenhe.bean.ResponseBean;
8   -import com.cnlive.shenhe.entity.ShyLive;
9 4 import com.cnlive.shenhe.entity.ShyLiveapply;
10   -import com.cnlive.shenhe.entity.ShyVideos;
11 5 import com.cnlive.shenhe.serviceImpl.LiveApplyServiceImpl;
12   -import com.cnlive.shenhe.serviceImpl.VideosServiceImpl;
13   -import com.cnlive.shenhe.utils.AntiFraudUtil;
14 6 import com.cnlive.shenhe.utils.CommonConst;
15 7 import com.cnlive.shenhe.utils.CommonUtils;
16   -
17   -import java.sql.Timestamp;
18   -import java.util.Date;
19   -import java.util.HashMap;
20   -import java.util.List;
21   -import java.util.Map;
22   -import java.util.UUID;
23   -
24   -import org.apache.commons.lang3.StringUtils;
25 8 import org.slf4j.Logger;
26 9 import org.slf4j.LoggerFactory;
27 10 import org.springframework.beans.factory.annotation.Autowired;
28 11 import org.springframework.stereotype.Controller;
29 12 import org.springframework.web.bind.annotation.PostMapping;
30   -import org.springframework.web.bind.annotation.RequestBody;
31 13 import org.springframework.web.bind.annotation.RequestMapping;
32   -import org.springframework.web.bind.annotation.RequestMethod;
33 14 import org.springframework.web.bind.annotation.ResponseBody;
34   -import com.cnlive.shenhe.utils.AntiFraudUtil;
  15 +
  16 +import java.sql.Timestamp;
  17 +import java.util.Date;
  18 +import java.util.List;
35 19  
36 20  
37 21 @SuppressWarnings("unused")
... ...
src/main/java/com/cnlive/shenhe/api/LiveControllerApi.java
1 1 package com.cnlive.shenhe.api;
2 2  
3 3 import com.alibaba.fastjson.JSON;
4   -import com.alibaba.fastjson.JSONArray;
5 4 import com.alibaba.fastjson.JSONObject;
6   -import com.cnlive.shenhe.bean.ErrorEnum;
7   -import com.cnlive.shenhe.bean.ResponseBean;
8 5 import com.cnlive.shenhe.entity.ShyLive;
9   -import com.cnlive.shenhe.entity.ShyVideos;
10 6 import com.cnlive.shenhe.serviceImpl.LiveServiceImpl;
11   -import com.cnlive.shenhe.serviceImpl.VideosServiceImpl;
12 7 import com.cnlive.shenhe.utils.AntiFraudUtil;
13 8 import com.cnlive.shenhe.utils.CommonUtils;
14   -
15   -import java.sql.Timestamp;
16   -import java.util.Date;
17   -import java.util.HashMap;
18   -import java.util.List;
19   -import java.util.Map;
20   -import java.util.UUID;
21   -
22 9 import org.apache.commons.lang3.StringUtils;
23 10 import org.slf4j.Logger;
24 11 import org.slf4j.LoggerFactory;
25 12 import org.springframework.beans.factory.annotation.Autowired;
26 13 import org.springframework.stereotype.Controller;
27   -import org.springframework.web.bind.annotation.PostMapping;
28   -import org.springframework.web.bind.annotation.RequestBody;
29   -import org.springframework.web.bind.annotation.RequestMapping;
30   -import org.springframework.web.bind.annotation.RequestMethod;
31   -import org.springframework.web.bind.annotation.ResponseBody;
32   -import com.cnlive.shenhe.utils.AntiFraudUtil;
  14 +import org.springframework.web.bind.annotation.*;
  15 +
  16 +import java.sql.Timestamp;
  17 +import java.util.Date;
  18 +import java.util.List;
  19 +import java.util.UUID;
33 20  
34 21  
35 22 @SuppressWarnings("unused")
... ...
src/main/java/com/cnlive/shenhe/config/MyInterceptor.java
1 1 package com.cnlive.shenhe.config;
2 2  
3   -import org.omg.PortableInterceptor.Interceptor;
4 3 import org.springframework.stereotype.Component;
5 4 import org.springframework.web.servlet.HandlerInterceptor;
6 5 import org.springframework.web.servlet.ModelAndView;
... ...
src/main/java/com/cnlive/shenhe/controller/ChannelController.java
... ... @@ -24,7 +24,6 @@ import org.springframework.ui.Model;
24 24 import org.springframework.web.bind.annotation.*;
25 25  
26 26 import javax.servlet.http.HttpSession;
27   -import java.util.Date;
28 27 import java.util.HashMap;
29 28 import java.util.List;
30 29 import java.util.Map;
... ...
src/main/java/com/cnlive/shenhe/controller/CommentsController.java
... ... @@ -17,7 +17,6 @@ import com.cnlive.shenhe.utils.AuditPass;
17 17 import com.cnlive.shenhe.utils.CommonConst;
18 18 import com.cnlive.shenhe.utils.CommonUtils;
19 19 import com.github.pagehelper.PageInfo;
20   -
21 20 import org.apache.poi.xssf.usermodel.XSSFCell;
22 21 import org.apache.poi.xssf.usermodel.XSSFRow;
23 22 import org.apache.poi.xssf.usermodel.XSSFSheet;
... ... @@ -25,7 +24,6 @@ import org.apache.poi.xssf.usermodel.XSSFWorkbook;
25 24 import org.slf4j.Logger;
26 25 import org.slf4j.LoggerFactory;
27 26 import org.springframework.beans.factory.annotation.Autowired;
28   -import org.springframework.beans.factory.annotation.Value;
29 27 import org.springframework.stereotype.Controller;
30 28 import org.springframework.ui.Model;
31 29 import org.springframework.web.bind.annotation.*;
... ... @@ -33,14 +31,7 @@ import org.springframework.web.bind.annotation.*;
33 31 import javax.servlet.ServletOutputStream;
34 32 import javax.servlet.http.HttpServletResponse;
35 33 import javax.servlet.http.HttpSession;
36   -
37   -import java.awt.color.CMMException;
38   -import java.io.BufferedInputStream;
39   -import java.io.BufferedOutputStream;
40   -import java.io.ByteArrayInputStream;
41   -import java.io.ByteArrayOutputStream;
42   -import java.io.InputStream;
43   -import java.util.Date;
  34 +import java.io.*;
44 35 import java.util.List;
45 36  
46 37  
... ...
src/main/java/com/cnlive/shenhe/controller/ContentController.java
... ... @@ -3,7 +3,6 @@ package com.cnlive.shenhe.controller;
3 3 import com.cnlive.shenhe.bean.ErrorEnum;
4 4 import com.cnlive.shenhe.bean.ResponseBean;
5 5 import com.cnlive.shenhe.bean.SessionUser;
6   -import com.cnlive.shenhe.dto.CommentsDTO;
7 6 import com.cnlive.shenhe.dto.ContentDTO;
8 7 import com.cnlive.shenhe.entity.ShyContent;
9 8 import com.cnlive.shenhe.entity.ShySites;
... ... @@ -27,7 +26,6 @@ import javax.servlet.ServletOutputStream;
27 26 import javax.servlet.http.HttpServletResponse;
28 27 import javax.servlet.http.HttpSession;
29 28 import java.io.*;
30   -import java.util.Date;
31 29 import java.util.List;
32 30  
33 31  
... ...
src/main/java/com/cnlive/shenhe/controller/NotSpeakController.java
1 1 package com.cnlive.shenhe.controller;
2 2  
3   -import com.alibaba.fastjson.JSONObject;
4   -import com.cnlive.shenhe.bean.ErrorEnum;
  3 +
5 4 import com.cnlive.shenhe.bean.ResponseBean;
6 5 import com.cnlive.shenhe.bean.SessionUser;
7 6 import com.cnlive.shenhe.dto.NotSpeakDTO;
8   -import com.cnlive.shenhe.entity.ShyComments;
9   -import com.cnlive.shenhe.entity.ShyContent;
10 7 import com.cnlive.shenhe.entity.ShyNotspeak;
11 8 import com.cnlive.shenhe.entity.ShySites;
12 9 import com.cnlive.shenhe.entity.ShyUsers;
13   -import com.cnlive.shenhe.entity.ShyVideos;
14   -import com.cnlive.shenhe.serviceImpl.CommentsServiceImpl;
15   -import com.cnlive.shenhe.serviceImpl.ContentServiceImpl;
16   -import com.cnlive.shenhe.serviceImpl.NotspeakServiceImpl;
17   -import com.cnlive.shenhe.serviceImpl.SitesServiceImpl;
18   -import com.cnlive.shenhe.serviceImpl.UsersServiceImpl;
  10 +import com.cnlive.shenhe.serviceImpl.*;
19 11 import com.cnlive.shenhe.utils.AuditPass;
20   -import com.cnlive.shenhe.utils.CommonConst;
21 12 import com.cnlive.shenhe.utils.CommonUtils;
22 13 import com.github.pagehelper.PageInfo;
23 14 import org.slf4j.Logger;
24 15 import org.slf4j.LoggerFactory;
25 16 import org.springframework.beans.factory.annotation.Autowired;
26   -import org.springframework.beans.factory.annotation.Value;
27 17 import org.springframework.stereotype.Controller;
28 18 import org.springframework.ui.Model;
29   -import org.springframework.web.bind.annotation.*;
  19 +import org.springframework.web.bind.annotation.GetMapping;
  20 +import org.springframework.web.bind.annotation.PostMapping;
  21 +import org.springframework.web.bind.annotation.RequestMapping;
  22 +import org.springframework.web.bind.annotation.ResponseBody;
30 23  
31 24 import javax.servlet.http.HttpSession;
32   -import java.util.Date;
33 25 import java.util.List;
34 26  
35 27  
... ...
src/main/java/com/cnlive/shenhe/controller/TopicController.java
... ... @@ -23,8 +23,6 @@ import org.springframework.ui.Model;
23 23 import org.springframework.web.bind.annotation.*;
24 24  
25 25 import javax.servlet.http.HttpSession;
26   -
27   -import java.util.Date;
28 26 import java.util.HashMap;
29 27 import java.util.List;
30 28 import java.util.Map;
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/ChannelServiceImpl.java
... ... @@ -18,7 +18,6 @@ import org.springframework.beans.factory.annotation.Autowired;
18 18 import org.springframework.stereotype.Service;
19 19 import tk.mybatis.mapper.entity.Example;
20 20  
21   -import java.util.Date;
22 21 import java.util.List;
23 22  
24 23 /**
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/CommentsServiceImpl.java
... ... @@ -6,7 +6,6 @@ import com.cnlive.shenhe.entity.ShyComments;
6 6 import com.cnlive.shenhe.entity.ShySites;
7 7 import com.cnlive.shenhe.entity.ShyUsers;
8 8 import com.cnlive.shenhe.mapper.ShyCommentsMapper;
9   -import com.cnlive.shenhe.mapper.ShyNotspeakMapper;
10 9 import com.cnlive.shenhe.mapper.ShySitesMapper;
11 10 import com.cnlive.shenhe.mapper.ShyUsersMapper;
12 11 import com.cnlive.shenhe.utils.AuditPass;
... ... @@ -21,7 +20,6 @@ import org.springframework.beans.factory.annotation.Autowired;
21 20 import org.springframework.stereotype.Service;
22 21 import tk.mybatis.mapper.entity.Example;
23 22  
24   -import java.util.Date;
25 23 import java.util.List;
26 24  
27 25 /**
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/EmailServiceImpl.java
1 1 package com.cnlive.shenhe.serviceImpl;
2 2  
3   -import com.alibaba.fastjson.JSONObject;
  3 +
4 4 import com.cnlive.shenhe.dto.EmailDTO;
5 5 import com.cnlive.shenhe.entity.ShyEmail;
6   -import com.cnlive.shenhe.entity.ShySites;
7   -import com.cnlive.shenhe.entity.ShyUsers;
8   -import com.cnlive.shenhe.entity.ShyUsersfree;
9 6 import com.cnlive.shenhe.mapper.ShyEmailMapper;
10   -import com.cnlive.shenhe.mapper.ShyUsersMapper;
11   -import com.cnlive.shenhe.mapper.ShyUsersfreeMapper;
12   -import com.cnlive.shenhe.utils.AuditPass;
13 7 import com.cnlive.shenhe.utils.CommonUtils;
14 8 import com.github.pagehelper.PageHelper;
15 9 import com.github.pagehelper.PageInfo;
16   -
17   -import java.util.ArrayList;
18   -import java.util.Arrays;
19   -import java.util.List;
20   -
21 10 import org.slf4j.Logger;
22 11 import org.slf4j.LoggerFactory;
23 12 import org.springframework.beans.factory.annotation.Autowired;
24 13 import org.springframework.stereotype.Service;
25 14 import tk.mybatis.mapper.entity.Example;
26 15  
  16 +import java.util.ArrayList;
  17 +import java.util.Arrays;
  18 +import java.util.List;
  19 +
27 20 /**
28 21 * @Auther: 周伟鹏
29 22 * @Date: 2018/11/29 14:23
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/LiveApplyServiceImpl.java
1 1 package com.cnlive.shenhe.serviceImpl;
2 2  
3   -import com.alibaba.fastjson.JSON;
4   -import com.alibaba.fastjson.JSONArray;
5   -import com.alibaba.fastjson.JSONObject;
  3 +
6 4 import com.cnlive.shenhe.bean.ErrorEnum;
7 5 import com.cnlive.shenhe.bean.ResponseBean;
8 6 import com.cnlive.shenhe.dto.LiveApplyDTO;
9   -import com.cnlive.shenhe.entity.ShyChannel;
10   -import com.cnlive.shenhe.entity.ShyLive;
11 7 import com.cnlive.shenhe.entity.ShyLiveapply;
12   -import com.cnlive.shenhe.entity.ShySites;
13 8 import com.cnlive.shenhe.entity.ShyUsers;
14   -import com.cnlive.shenhe.entity.ShyUsersfree;
15   -import com.cnlive.shenhe.entity.ShyVideofilter;
16   -import com.cnlive.shenhe.entity.ShyVideos;
17   -import com.cnlive.shenhe.job.VideosJob;
18 9 import com.cnlive.shenhe.mapper.ShyLiveMapper;
19 10 import com.cnlive.shenhe.mapper.ShyLiveapplyMapper;
20   -import com.cnlive.shenhe.mapper.ShySitesMapper;
21 11 import com.cnlive.shenhe.mapper.ShyUsersMapper;
22   -import com.cnlive.shenhe.mapper.ShyVideosMapper;
23   -import com.cnlive.shenhe.utils.AntiFraudUtil;
24   -import com.cnlive.shenhe.utils.AuditPass;
25 12 import com.cnlive.shenhe.utils.CommonConst;
26 13 import com.cnlive.shenhe.utils.CommonUtils;
27 14 import com.github.pagehelper.PageHelper;
28 15 import com.github.pagehelper.PageInfo;
29   -
30   -
31 16 import org.apache.ibatis.session.RowBounds;
32 17 import org.slf4j.Logger;
33 18 import org.slf4j.LoggerFactory;
34 19 import org.springframework.beans.factory.annotation.Autowired;
35   -import org.springframework.beans.factory.annotation.Value;
36 20 import org.springframework.stereotype.Service;
37 21 import tk.mybatis.mapper.entity.Example;
38 22  
39 23 import java.sql.Timestamp;
40 24 import java.text.ParseException;
41   -import java.util.ArrayList;
42   -import java.util.Arrays;
43   -import java.util.HashMap;
44 25 import java.util.List;
45   -import java.util.Map;
46 26  
47 27 /**
48 28 * @Auther: liwei
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/LiveServiceImpl.java
... ... @@ -6,21 +6,15 @@ import com.cnlive.shenhe.dto.LiveDTO;
6 6 import com.cnlive.shenhe.entity.ShyLive;
7 7 import com.cnlive.shenhe.entity.ShyUsers;
8 8 import com.cnlive.shenhe.mapper.ShyLiveMapper;
9   -import com.cnlive.shenhe.mapper.ShySitesMapper;
10 9 import com.cnlive.shenhe.mapper.ShyUsersMapper;
11   -import com.cnlive.shenhe.mapper.ShyVideosMapper;
12   -import com.cnlive.shenhe.utils.AuditPass;
13 10 import com.cnlive.shenhe.utils.CommonConst;
14 11 import com.cnlive.shenhe.utils.CommonUtils;
15 12 import com.github.pagehelper.PageHelper;
16 13 import com.github.pagehelper.PageInfo;
17   -
18   -
19 14 import org.apache.ibatis.session.RowBounds;
20 15 import org.slf4j.Logger;
21 16 import org.slf4j.LoggerFactory;
22 17 import org.springframework.beans.factory.annotation.Autowired;
23   -import org.springframework.beans.factory.annotation.Value;
24 18 import org.springframework.stereotype.Service;
25 19 import tk.mybatis.mapper.entity.Example;
26 20  
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/NotspeakServiceImpl.java
1 1 package com.cnlive.shenhe.serviceImpl;
2 2  
3   -import com.alibaba.fastjson.JSONArray;
  3 +
4 4 import com.alibaba.fastjson.JSONObject;
5 5 import com.cnlive.shenhe.bean.ResponseBean;
6 6 import com.cnlive.shenhe.dto.NotSpeakDTO;
7 7 import com.cnlive.shenhe.entity.ShyComments;
8   -import com.cnlive.shenhe.entity.ShyContent;
9   -import com.cnlive.shenhe.entity.ShyLive;
10 8 import com.cnlive.shenhe.entity.ShyNotspeak;
11   -import com.cnlive.shenhe.entity.ShySites;
12   -import com.cnlive.shenhe.entity.ShyTopic;
13   -import com.cnlive.shenhe.entity.ShyUsers;
14   -import com.cnlive.shenhe.entity.ShyVideofilter;
15   -import com.cnlive.shenhe.entity.ShyVideos;
16 9 import com.cnlive.shenhe.mapper.ShyCommentsMapper;
17   -import com.cnlive.shenhe.mapper.ShyContentMapper;
18 10 import com.cnlive.shenhe.mapper.ShyNotspeakMapper;
19 11 import com.cnlive.shenhe.mapper.ShySitesMapper;
20   -import com.cnlive.shenhe.mapper.ShyTopicMapper;
21 12 import com.cnlive.shenhe.mapper.ShyUsersMapper;
22   -import com.cnlive.shenhe.utils.AntiFraudUtil;
23 13 import com.cnlive.shenhe.utils.AuditPass;
24 14 import com.cnlive.shenhe.utils.CommonConst;
25 15 import com.cnlive.shenhe.utils.CommonUtils;
... ... @@ -34,14 +24,7 @@ import org.springframework.beans.factory.annotation.Value;
34 24 import org.springframework.stereotype.Service;
35 25 import tk.mybatis.mapper.entity.Example;
36 26  
37   -import java.sql.Timestamp;
38   -import java.text.ParseException;
39   -import java.util.ArrayList;
40   -import java.util.Date;
41   -import java.util.HashMap;
42 27 import java.util.List;
43   -import java.util.Map;
44   -import java.util.UUID;
45 28  
46 29 /**
47 30 * @Auther: liwei
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/SitesServiceImpl.java
... ... @@ -4,7 +4,6 @@ import com.cnlive.shenhe.dto.SitesDTO;
4 4 import com.cnlive.shenhe.entity.ShySites;
5 5 import com.cnlive.shenhe.entity.ShyUsers;
6 6 import com.cnlive.shenhe.mapper.ShySitesMapper;
7   -import com.cnlive.shenhe.utils.CommonConst;
8 7 import com.cnlive.shenhe.utils.CommonUtils;
9 8 import com.github.pagehelper.PageHelper;
10 9 import com.github.pagehelper.PageInfo;
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/TopicServiceImpl.java
1 1 package com.cnlive.shenhe.serviceImpl;
2 2  
3   -import com.alibaba.fastjson.JSONArray;
4 3 import com.alibaba.fastjson.JSONObject;
5 4 import com.cnlive.shenhe.dto.TopicDTO;
6 5 import com.cnlive.shenhe.entity.ShyComments;
7 6 import com.cnlive.shenhe.entity.ShyContent;
8   -import com.cnlive.shenhe.entity.ShyLive;
9   -import com.cnlive.shenhe.entity.ShySites;
10 7 import com.cnlive.shenhe.entity.ShyTopic;
11   -import com.cnlive.shenhe.entity.ShyUsers;
12   -import com.cnlive.shenhe.entity.ShyVideofilter;
13   -import com.cnlive.shenhe.entity.ShyVideos;
14 8 import com.cnlive.shenhe.mapper.ShyCommentsMapper;
15   -import com.cnlive.shenhe.mapper.ShyContentMapper;
16 9 import com.cnlive.shenhe.mapper.ShySitesMapper;
17 10 import com.cnlive.shenhe.mapper.ShyTopicMapper;
18 11 import com.cnlive.shenhe.mapper.ShyUsersMapper;
19   -import com.cnlive.shenhe.utils.AntiFraudUtil;
20   -import com.cnlive.shenhe.utils.AuditPass;
21 12 import com.cnlive.shenhe.utils.CommonConst;
22 13 import com.cnlive.shenhe.utils.CommonUtils;
23 14 import com.cnlive.shenhe.utils.TransitServiceUtils;
... ... @@ -31,14 +22,8 @@ import org.springframework.beans.factory.annotation.Value;
31 22 import org.springframework.stereotype.Service;
32 23 import tk.mybatis.mapper.entity.Example;
33 24  
34   -import java.sql.Timestamp;
35   -import java.text.ParseException;
36   -import java.util.ArrayList;
37 25 import java.util.Date;
38   -import java.util.HashMap;
39 26 import java.util.List;
40   -import java.util.Map;
41   -import java.util.UUID;
42 27  
43 28 /**
44 29 * @Auther: liwei
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/UsersServiceImpl.java
1 1 package com.cnlive.shenhe.serviceImpl;
2 2  
3 3 import com.cnlive.shenhe.dto.UsersDTO;
4   -import com.cnlive.shenhe.entity.ShySites;
5 4 import com.cnlive.shenhe.entity.ShyUsers;
6 5 import com.cnlive.shenhe.mapper.ShyUsersMapper;
7 6 import com.cnlive.shenhe.utils.CommonUtils;
8 7 import com.github.pagehelper.PageHelper;
9 8 import com.github.pagehelper.PageInfo;
10   -
11   -import java.util.List;
12   -
13 9 import org.springframework.beans.factory.annotation.Autowired;
14 10 import org.springframework.stereotype.Service;
15 11 import tk.mybatis.mapper.entity.Example;
16 12  
  13 +import java.util.List;
  14 +
17 15 /**
18 16 * @Auther: 周伟鹏
19 17 * @Date: 2018/11/29 14:23
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/UsersfreeServiceImpl.java
... ... @@ -9,16 +9,13 @@ import com.cnlive.shenhe.utils.AuditPass;
9 9 import com.cnlive.shenhe.utils.CommonUtils;
10 10 import com.github.pagehelper.PageHelper;
11 11 import com.github.pagehelper.PageInfo;
12   -
13   -import tk.mybatis.mapper.entity.Example;
14   -
15   -import java.util.List;
16   -
17 12 import org.slf4j.Logger;
18 13 import org.slf4j.LoggerFactory;
19 14 import org.springframework.beans.factory.annotation.Autowired;
20   -import org.springframework.beans.factory.annotation.Value;
21 15 import org.springframework.stereotype.Service;
  16 +import tk.mybatis.mapper.entity.Example;
  17 +
  18 +import java.util.List;
22 19  
23 20 /**
24 21 * @Auther: 李伟
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/VideofilterServiceImpl.java
1 1 package com.cnlive.shenhe.serviceImpl;
2 2  
3   -import com.cnlive.shenhe.entity.ShyComments;
4   -import com.cnlive.shenhe.entity.ShySites;
5 3 import com.cnlive.shenhe.entity.ShyVideofilter;
6   -import com.cnlive.shenhe.mapper.ShySitesMapper;
7 4 import com.cnlive.shenhe.mapper.ShyVideofilterMapper;
8   -import com.cnlive.shenhe.utils.CommonUtils;
9   -import com.github.pagehelper.PageHelper;
10   -import com.github.pagehelper.PageInfo;
11 5 import org.springframework.beans.factory.annotation.Autowired;
12 6 import org.springframework.stereotype.Service;
13   -import tk.mybatis.mapper.entity.Example;
14 7  
15 8 import java.util.List;
16 9  
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
... ... @@ -25,7 +25,6 @@ import org.springframework.beans.factory.annotation.Value;
25 25 import org.springframework.stereotype.Service;
26 26 import tk.mybatis.mapper.entity.Example;
27 27  
28   -import java.sql.Timestamp;
29 28 import java.text.ParseException;
30 29 import java.util.Date;
31 30 import java.util.List;
... ...