Commit 34b78587b4944393b69bbce839c043f3f7305a5d

Authored by 王言钊
1 parent afbc066e

1、修改直播、直播申请API导入方法名、删除所有未被引用的代码块和无关页面、添加所有的service层方法注释2、修改点播、音频、频道、图文、直播申请、话题、用…

…户Service、Controller详情的方法名、优化活动模块
Showing 37 changed files with 842 additions and 1483 deletions
src/main/java/com/cnlive/shenhe/api/AvsampleCallBackControllerApi.java
... ... @@ -70,8 +70,4 @@ public class AvsampleCallBackControllerApi {
70 70 }
71 71 return result;
72 72 }
73   - //@GetMapping("/getGame")
74   - //public String getGame() {
75   - // return "html/game.html";
76   - //}
77 73 }
... ...
src/main/java/com/cnlive/shenhe/api/ContentControllerApi.java
... ... @@ -270,12 +270,4 @@ public class ContentControllerApi {
270 270 return new ResponseBean(ErrorEnum.ERROR);
271 271 }
272 272 }
273   - //@GetMapping("/detail/{id}.html")
274   - //public Object getContentDetail(Model model, @PathVariable Integer id) {
275   - // System.out.println("数美送审页面开始进入");
276   - // ShyContent content = contentService.selectByPrimaryKey(id);
277   - // model.addAttribute("contentText", content.getContent_text());
278   - // model.addAttribute("contentTitle", content.getTitle());
279   - // return "html/contentPage.html";
280   - //}
281 273 }
... ...
src/main/java/com/cnlive/shenhe/api/LiveApplyControllerApi.java
... ... @@ -31,7 +31,7 @@ public class LiveApplyControllerApi {
31 31  
32 32 @PostMapping("/import")
33 33 @ResponseBody
34   - public JSONObject impotVideo(String param) {
  34 + public JSONObject impotLiveApply(String param) {
35 35 JSONObject map = new JSONObject();
36 36 JSONObject result = new JSONObject();
37 37 //初始化一个请求数据库返回结果
... ...
src/main/java/com/cnlive/shenhe/api/LiveControllerApi.java
... ... @@ -33,7 +33,7 @@ public class LiveControllerApi {
33 33  
34 34 @PostMapping("/import")
35 35 @ResponseBody
36   - public JSONObject impotVideo(String param) {
  36 + public JSONObject impotLive(String param) {
37 37 JSONObject map = new JSONObject();
38 38 JSONObject result = new JSONObject();
39 39 //初始化一个请求数据库返回结果
... ... @@ -182,7 +182,7 @@ public class LiveControllerApi {
182 182 shyLive.setUpdated_at(CommonUtils.getCurrentTime());
183 183  
184 184 yorN = liveService.updateshyLive(shyLive);
185   - // 插入
  185 + // 插入
186 186 } else {
187 187 //查了,没有,直接插入数据库
188 188 //设置直播活动id
... ... @@ -277,27 +277,4 @@ public class LiveControllerApi {
277 277 }
278 278 return map;
279 279 }
280   - //@RequestMapping(value = "callbackLiveResult", method = RequestMethod.POST)
281   - //@ResponseBody
282   - //public void getFilterVideoResult(@RequestBody String json) {
283   - // logger.info("数美视频过滤回调,json:{}", json);
284   - // if (StringUtils.isNotEmpty(json)) {
285   - // JSONObject jsonObj = JSON.parseObject(json);
286   - // JSONObject resultObj = jsonObj.getJSONObject("result");
287   - // Integer code = resultObj.getInteger("code");
288   - // if (code != null && code == 1100) {
289   - // String riskLevel = resultObj.getString("riskLevel");
290   - // if ("PASS".equals(riskLevel)) {
291   - //
292   - // }
293   - // if ("REJECT".equals(riskLevel)) {
294   - // JSONObject detail = resultObj.getJSONObject("detail");
295   - // logger.info("数美视频回调--REJECT,detail:{}", detail);
296   - // }
297   - // if ("REVIEW".equals(riskLevel)) {
298   - // }
299   - // } else {
300   - // }
301   - // }
302   - //}
303 280 }
... ...
src/main/java/com/cnlive/shenhe/api/ShyActivityControllerApi.java
... ... @@ -47,16 +47,16 @@ public class ShyActivityControllerApi {
47 47 shyActivity.setExempt_from_trial(0);
48 48 logger.info("封装对象为,{}", JSON.toJSON(shyActivity));
49 49 // 根据id查询是否存在
50   - ShyActivity shyActivityObj = shyActivityImpl.selectById(id);
  50 + Boolean shyActivityObj = shyActivityImpl.selectById(id);
51 51 // 如果对象不存在,就直接添加
52   - if (shyActivityObj == null) {
  52 + if (shyActivityObj) {
53 53 int result = shyActivityImpl.insertShyActivity(shyActivity);
54 54 if (result > 0) {
55 55 return new ResponseBean(ErrorEnum.SUCCESS.getErrorCode(), "当前活动添加成功");
56 56 }
57 57 return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "当前活动添加失败,请重试");
58 58 }
59   - // 如果对象存在,就直接返回错误码
  59 + // 如果对象存在,就直接返回错误码
60 60 return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "当前活动id已存在,请更换id重试");
61 61 }
62 62 }
... ...
src/main/java/com/cnlive/shenhe/controller/AudioController.java
... ... @@ -74,7 +74,7 @@ public class AudioController extends BaseController {
74 74 * @return
75 75 */
76 76 @GetMapping("/page")
77   - public Object getListVideos(Model model, AudioDTO audioDTO, HttpSession session) {
  77 + public Object getListAudios(Model model, AudioDTO audioDTO, HttpSession session) {
78 78 logger.info("列表请求参数:{}", JSON.toJSONString(audioDTO));
79 79 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
80 80 if (CommonUtils.isNull(sessionUser)) {
... ... @@ -96,7 +96,7 @@ public class AudioController extends BaseController {
96 96 } else if (CommonUtils.isEmpty(audioDTO.getSp_desc()) && audioDTO.getSpid() == 0) {
97 97 audioDTO.setSpid(null);
98 98 }
99   - PageInfo<ShyAudio> audioPage = audioService.getListContent(audioDTO);
  99 + PageInfo<ShyAudio> audioPage = audioService.getListAudios(audioDTO);
100 100 if (audioPage != null && audioPage.getSize() > 0) {
101 101 List<ShyAudio> list = audioPage.getList();
102 102 if (list != null && list.size() > 0) {
... ... @@ -241,8 +241,8 @@ public class AudioController extends BaseController {
241 241 * @return
242 242 */
243 243 @GetMapping("/details")
244   - public Object getDetailsVideo(Model model, Integer id) {
245   - ShyAudio shyAudio = audioService.getDetailsContent(id);
  244 + public Object getDetailsAudio(Model model, Integer id) {
  245 + ShyAudio shyAudio = audioService.getDetailsAudio(id);
246 246 Object images = JSON.parse(shyAudio.getAudioCoverUrl());
247 247  
248 248 String yuming = "";
... ...
src/main/java/com/cnlive/shenhe/controller/ChannelController.java
... ... @@ -51,7 +51,7 @@ public class ChannelController extends BaseController {
51 51 SitesServiceImpl sitesService;
52 52  
53 53 /**
54   - * 评论列表页
  54 + * 频道列表页
55 55 *
56 56 * @param model
57 57 * @param channelDTO
... ... @@ -137,14 +137,14 @@ public class ChannelController extends BaseController {
137 137 }
138 138  
139 139 /**
140   - * 评论详情
  140 + * 频道详情
141 141 *
142 142 * @param id
143 143 * @return
144 144 */
145 145 @GetMapping("/details/{id}")
146 146 public String getDetailsChannel(@PathVariable Integer id, Model model) {
147   - ShyChannel comment = channelService.getDetailsComment(id);
  147 + ShyChannel comment = channelService.getDetailsChannel(id);
148 148 model.addAttribute("comment", comment);
149 149 return "page/commentDetail.html";
150 150 }
... ... @@ -260,12 +260,14 @@ public class ChannelController extends BaseController {
260 260 public Map<String, Object> channelNotice() {
261 261 Map<String, Object> map = new HashMap<>(16);
262 262 ShyChannel shyChannel = new ShyChannel();
263   - shyChannel.setShenhe_type(CommonConst.AUDIT_TYPE_USER);// 审核类型为人工审
  263 + // 审核类型为人工审
  264 + shyChannel.setShenhe_type(CommonConst.AUDIT_TYPE_USER);
264 265 shyChannel.setShenhe_status(CommonConst.AUDIT_INTT);
265 266 List<ShyChannel> channelList = channelService.findshyChannel(shyChannel);
266 267 if (channelList.size() > 0) {
267 268 logger.info("您有" + channelList.size() + "条新的频道审核申请,请注意查看!");
268   - map.put("id", "1");//第一个提示框,避免冲突
  269 + //第一个提示框,避免冲突
  270 + map.put("id", "1");
269 271 map.put("title", "新频道审核通知");
270 272 map.put("content", "您有" + channelList.size() + "条新的频道审核申请,请注意查看!");
271 273 map.put("url", localhost_url + "/channel/page?shenhe_status=0&receive=0");
... ...
src/main/java/com/cnlive/shenhe/controller/ContentController.java
... ... @@ -127,7 +127,7 @@ public class ContentController extends BaseController {
127 127 * @return
128 128 */
129 129 @GetMapping("/details/{id}")
130   - public String getDetailsComments(@PathVariable Integer id, Model model) {
  130 + public String getDetailsContents(@PathVariable Integer id, Model model) {
131 131 ShyContent content = contentService.getDetailsContent(id);
132 132 if (!content.getReceive_status().equals(CommonConst.RECEIVE_BEFORE)) {
133 133 String auditorId = content.getAuditor_id();
... ...
src/main/java/com/cnlive/shenhe/controller/EmailController.java
... ... @@ -41,7 +41,14 @@ public class EmailController extends BaseController {
41 41 @Autowired
42 42 UsersServiceImpl usersService;
43 43  
44   -
  44 + /**
  45 + * 展示分页 条件查询结果
  46 + *
  47 + * @param model
  48 + * @param emailDTO
  49 + * @param session
  50 + * @return
  51 + */
45 52 @GetMapping(value = "/page")
46 53 public String page(Model model, EmailDTO emailDTO, HttpSession session) {
47 54 logger.info("列表请求参数:{}", JSON.toJSONString(emailDTO));
... ... @@ -51,10 +58,6 @@ public class EmailController extends BaseController {
51 58 }
52 59 PageInfo<ShyEmail> emailPage = emailServiceImpl.getPage(emailDTO);
53 60 List<ShyEmail> list = emailPage.getList();
54   -
55   -
56   -
57   -
58 61 JSONObject emailMessage = CommonConst.EMAIL_MESSAGE;
59 62 if (!list.isEmpty()) {
60 63 for (ShyEmail shyEmail : list) {
... ... @@ -71,10 +74,7 @@ public class EmailController extends BaseController {
71 74 }
72 75 }
73 76 shyEmail.setUpdater(updater);
74   -
75 77 //获取邮件消息类型名称
76   -
77   -
78 78 String emailTypeName = shyEmail.getNotice_type();
79 79 if (CommonUtils.isNotEmpty(emailTypeName)) {
80 80 for (String bkey : emailMessage.keySet()) {
... ... @@ -92,6 +92,14 @@ public class EmailController extends BaseController {
92 92 return "page/email.html";
93 93 }
94 94  
  95 + /**
  96 + * 修改状态
  97 + *
  98 + * @param id
  99 + * @param isEnable
  100 + * @param session
  101 + * @return
  102 + */
95 103 @PostMapping("/updateState")
96 104 @ResponseBody
97 105 public ResponseBean updateState(Integer id, Boolean isEnable, HttpSession session) {
... ... @@ -103,6 +111,13 @@ public class EmailController extends BaseController {
103 111 return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "操作失败,请重试");
104 112 }
105 113  
  114 + /**
  115 + * 修改
  116 + *
  117 + * @param id
  118 + * @param session
  119 + * @return
  120 + */
106 121 @PostMapping("/deleted")
107 122 @ResponseBody
108 123 public ResponseBean deleted(Integer id, HttpSession session) {
... ... @@ -114,7 +129,18 @@ public class EmailController extends BaseController {
114 129 return new ResponseBean(ErrorEnum.ERROR.getErrorCode(), "操作失败,请重试");
115 130 }
116 131  
117   -
  132 + /**
  133 + * 修改邮箱状态
  134 + *
  135 + * @param model
  136 + * @param id
  137 + * @param email
  138 + * @param remark
  139 + * @param write_business
  140 + * @param session
  141 + * @param redirect_url
  142 + * @return
  143 + */
118 144 @PostMapping(value = "/write")
119 145 public String write(Model model, Integer id, String email, String remark, String[] write_business, HttpSession session, String redirect_url) {
120 146 if (CommonUtils.isEmpty(email) && CommonUtils.isEmpty(remark)) {
... ...
src/main/java/com/cnlive/shenhe/controller/LiveApplyController.java
... ... @@ -52,22 +52,19 @@ public class LiveApplyController extends BaseController {
52 52 SitesServiceImpl sitesService;
53 53 @Autowired
54 54 LiveServiceImpl liveService;
55   -
56   -
57 55 @Value("${spring.localhost.url}")
58 56 private String localhost_url;//本机地址
59   -
60   -
61 57 @Autowired
62 58 LiveApplyServiceImpl liveApplyServiceImpl;
63 59  
  60 +
64 61 /**
65 62 * 直播申请审核信息回调接口
66 63 *
67   - * @param ids 视频id
68   - * @param state 状态码
69   - * @param
70   - * @param msg 备注信息
  64 + * @param ids
  65 + * @param state
  66 + * @param msg
  67 + * @param session
71 68 * @return
72 69 */
73 70 @PostMapping("/shenheLiveApply")
... ... @@ -184,8 +181,8 @@ public class LiveApplyController extends BaseController {
184 181 * @return
185 182 */
186 183 @GetMapping("/details")
187   - public Object getDetailsLive(Model model, Integer id) {
188   - ShyLiveapply shyLiveapply = liveApplyServiceImpl.getDetailsLive(id);
  184 + public Object getDetailsLiveApply(Model model, Integer id) {
  185 + ShyLiveapply shyLiveapply = liveApplyServiceImpl.getDetailsLiveApply(id);
189 186  
190 187 //显示spid简称
191 188 ShySites shySites = sitesService.findspidDescByspid(shyLiveapply.getSp_id());
... ... @@ -448,7 +445,7 @@ public class LiveApplyController extends BaseController {
448 445 */
449 446 @GetMapping("/liveApplyNotice")
450 447 @ResponseBody
451   - public Map<String, Object> channelNotice() {
  448 + public Map<String, Object> liveApplyNotice() {
452 449 Map<String, Object> map = new HashMap<>(16);
453 450 ShyLiveapply shyLiveapply = new ShyLiveapply();
454 451 shyLiveapply.setShenhe_type(CommonConst.AUDIT_TYPE_USER);// 审核类型为人工审
... ...
src/main/java/com/cnlive/shenhe/controller/LiveController.java
... ... @@ -116,7 +116,7 @@ public class LiveController extends BaseController {
116 116 * @return
117 117 */
118 118 @GetMapping("/page")
119   - public Object getListVideos(Model model, LiveDTO liveDTO, HttpSession session) {
  119 + public Object getListLives(Model model, LiveDTO liveDTO, HttpSession session) {
120 120 logger.info("列表请求参数:{}", JSON.toJSONString(liveDTO));
121 121 System.out.println("进入直播内容页");
122 122 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.getSessionKey());
... ... @@ -164,7 +164,7 @@ public class LiveController extends BaseController {
164 164 }
165 165 }
166 166  
167   - PageInfo<ShyLive> livePage = liveService.getListContent(liveDTO);
  167 + PageInfo<ShyLive> livePage = liveService.getListLive(liveDTO);
168 168 List<ShyLive> list = livePage.getList();
169 169 if (!list.isEmpty()) {
170 170 for (ShyLive live : list) {
... ... @@ -178,8 +178,8 @@ public class LiveController extends BaseController {
178 178 model.addAttribute("livePage", livePage);
179 179 model.addAttribute("pageSize", liveDTO.getPageSize());
180 180 model.addAttribute("ActivityStatus", liveDTO.getActivity_status());
181   - model.addAttribute("Activity_name",liveDTO.getActivity_name());
182   - model.addAttribute("Activity_id",liveDTO.getActivity_id());
  181 + model.addAttribute("Activity_name", liveDTO.getActivity_name());
  182 + model.addAttribute("Activity_id", liveDTO.getActivity_id());
183 183 model.addAttribute("Sp_desc", liveDTO.getSp_desc());
184 184 model.addAttribute("Start_date", liveDTO.getStart_date());
185 185 model.addAttribute("End_date", liveDTO.getEnd_date());
... ... @@ -268,6 +268,7 @@ public class LiveController extends BaseController {
268 268 /**
269 269 * 打回(审核通过、拒绝、强制下线)
270 270 * status 3、4、6
  271 + *
271 272 * @param ids
272 273 * @param msg
273 274 * @param session
... ...
src/main/java/com/cnlive/shenhe/controller/ShyActivityController.java
... ... @@ -33,6 +33,11 @@ public class ShyActivityController extends BaseController {
33 33 @Autowired
34 34 private ShyActivityImpl shyActivityImpl;
35 35  
  36 + /**
  37 + * 添加活动
  38 + * @param shyActivity
  39 + * @return
  40 + */
36 41 @PostMapping("/add")
37 42 @ResponseBody
38 43 public ResponseBean insterShyActivity(ShyActivity shyActivity) {
... ... @@ -48,6 +53,11 @@ public class ShyActivityController extends BaseController {
48 53 }
49 54 }
50 55  
  56 + /**
  57 + * 根据主键id删除活动
  58 + * @param id
  59 + * @return
  60 + */
51 61 @PostMapping("/delete")
52 62 @ResponseBody
53 63 public ResponseBean deleteShyActivity(Integer id) {
... ... @@ -59,6 +69,11 @@ public class ShyActivityController extends BaseController {
59 69  
60 70 }
61 71  
  72 + /**
  73 + * 修改对象
  74 + * @param shyActivity
  75 + * @return
  76 + */
62 77 @PostMapping("/update")
63 78 @ResponseBody
64 79 public ResponseBean updateShyActivity(ShyActivity shyActivity) {
... ... @@ -75,6 +90,12 @@ public class ShyActivityController extends BaseController {
75 90  
76 91 }
77 92  
  93 + /**
  94 + * 获取分页 条件查询的列表
  95 + * @param shyActivityDTO
  96 + * @param model
  97 + * @return
  98 + */
78 99 @GetMapping("/page")
79 100 public String getShyActivity(ShyActivityDTO shyActivityDTO, Model model) {
80 101 logger.info("列表请求参数:{}", JSON.toJSONString(shyActivityDTO));
... ...
src/main/java/com/cnlive/shenhe/controller/ShyLogController.java
... ... @@ -30,7 +30,12 @@ public class ShyLogController {
30 30 @Autowired
31 31 private ShyLogServiceImpl shyLogServiceImpl;
32 32  
33   -
  33 + /**
  34 + * 获取分页列表数据
  35 + * @param shyLogDTO
  36 + * @param model
  37 + * @return
  38 + */
34 39 @GetMapping("/page")
35 40 public String getShyLog(ShyLogDTO shyLogDTO, Model model) {
36 41 logger.info("进入查询日志方法,接受的对象为,ShyLogDTO:{}", JSON.toJSONString(shyLogDTO));
... ... @@ -39,6 +44,11 @@ public class ShyLogController {
39 44 return "page/log.html";
40 45 }
41 46  
  47 + /**
  48 + * 添加日志
  49 + * @param shyLog
  50 + * @return
  51 + */
42 52 @PostMapping("/add")
43 53 @ResponseBody
44 54 public ResponseBean insterShyLog(ShyLog shyLog) {
... ...
src/main/java/com/cnlive/shenhe/controller/TopicController.java
... ... @@ -162,7 +162,6 @@ public class TopicController extends BaseController {
162 162 }
163 163 }
164 164 return new ResponseBean(ErrorEnum.SUCCESS);
165   -
166 165 }
167 166  
168 167  
... ... @@ -173,9 +172,8 @@ public class TopicController extends BaseController {
173 172 */
174 173 @GetMapping("/topicNotice")
175 174 @ResponseBody
176   - public Map<String, Object> channelNotice() {
  175 + public Map<String, Object> topicNotice() {
177 176 Map<String, Object> map = new HashMap<>(16);
178   -
179 177 ShyTopic shyTopic = new ShyTopic();
180 178 shyTopic.setShenhe_status(CommonConst.AUDIT_INTT);
181 179 shyTopic.setShenhe_type(CommonConst.AUDIT_TYPE_USER);
... ...
src/main/java/com/cnlive/shenhe/controller/UsersController.java
... ... @@ -76,6 +76,12 @@ public class UsersController extends BaseController {
76 76 return usersService.get(id);
77 77 }
78 78  
  79 + /**
  80 + * 登录
  81 + *
  82 + * @param request
  83 + * @return
  84 + */
79 85 @RequestMapping({"/users/login", "/"})
80 86 public String index(HttpServletRequest request) {
81 87 AttributePrincipal principal = (AttributePrincipal) request.getUserPrincipal();
... ... @@ -112,6 +118,12 @@ public class UsersController extends BaseController {
112 118 return "page/error.html";
113 119 }
114 120  
  121 + /**
  122 + * 注销
  123 + *
  124 + * @param session
  125 + * @return
  126 + */
115 127 @RequestMapping("/users/logout")
116 128 public String logout(HttpSession session) {
117 129 SessionUser sessionUser = (SessionUser) session.getAttribute(SessionUser.SESSION_KEY);
... ... @@ -129,7 +141,14 @@ public class UsersController extends BaseController {
129 141 return "redirect:" + CAS_SERVER_URL_PREFIX + "/logout?service=" + SERVICE_LOGIN;
130 142 }
131 143  
132   -
  144 + /**
  145 + * 用户列表
  146 + *
  147 + * @param model
  148 + * @param usersDTO
  149 + * @param session
  150 + * @return
  151 + */
133 152 @GetMapping(value = "/users/page")
134 153 public String page(Model model, UsersDTO usersDTO, HttpSession session) {
135 154 logger.info("列表请求参数:{}", JSON.toJSONString(usersDTO));
... ...
src/main/java/com/cnlive/shenhe/controller/UsersFreeController.java
... ... @@ -38,12 +38,19 @@ public class UsersFreeController extends BaseController {
38 38  
39 39 private static Logger logger = LoggerFactory.getLogger(UsersFreeController.class);
40 40  
41   -
42 41 @Autowired
43 42 UsersfreeServiceImpl usersfreeService;
44 43 @Autowired
45 44 SitesServiceImpl sitesService;
46 45  
  46 + /**
  47 + * 返回分页列表
  48 + *
  49 + * @param model
  50 + * @param usersFreeDTO
  51 + * @param session
  52 + * @return
  53 + */
47 54 @GetMapping(value = "/page")
48 55 public String wangjiajiaPage(Model model, UsersFreeDTO usersFreeDTO, HttpSession session) {
49 56 logger.info("列表请求参数:{}", JSON.toJSONString(usersFreeDTO));
... ... @@ -89,6 +96,14 @@ public class UsersFreeController extends BaseController {
89 96 return "page/usersFree.html";
90 97 }
91 98  
  99 + /**
  100 + * 修改用户白名单状态
  101 + *
  102 + * @param id
  103 + * @param isEnable
  104 + * @param session
  105 + * @return
  106 + */
92 107 @PostMapping("/updateState")
93 108 @ResponseBody
94 109 public ResponseBean updateState(Integer id, Boolean isEnable, HttpSession session) {
... ...
src/main/java/com/cnlive/shenhe/controller/VideosController.java
... ... @@ -177,7 +177,7 @@ public class VideosController extends BaseController {
177 177 }
178 178 }
179 179  
180   - PageInfo<ShyVideos> videoPage = videosService.getListContent(videosDTO);
  180 + PageInfo<ShyVideos> videoPage = videosService.getListVideo(videosDTO);
181 181 //查询查询条件
182 182 List<ShyActivity> activityList = shyActivityImpl.selectAll();
183 183 List<ShyVideos> list = videoPage.getList();
... ... @@ -252,7 +252,7 @@ public class VideosController extends BaseController {
252 252 */
253 253 @GetMapping("/details")
254 254 public Object getDetailsVideo(Model model, Integer id) {
255   - ShyVideos detailsContent = videosService.getDetailsContent(id);
  255 + ShyVideos detailsContent = videosService.getDetailsVideo(id);
256 256 Object images = JSON.parse(detailsContent.getVideo_imgs());
257 257 Object avsampleImgs = JSON.parse(detailsContent.getAvsample_imgs());
258 258 String yuming = "";
... ...
src/main/java/com/cnlive/shenhe/mapper/ShyActivityMapper.java
... ... @@ -11,6 +11,7 @@ public interface ShyActivityMapper extends Mapper&lt;ShyActivity&gt; {
11 11  
12 12 /**
13 13 * 根据免审状态查询
  14 + *
14 15 * @param exempt_from_trial
15 16 * @return
16 17 */
... ... @@ -18,15 +19,17 @@ public interface ShyActivityMapper extends Mapper&lt;ShyActivity&gt; {
18 19  
19 20 /**
20 21 * 根据id查询是否存在该对象
  22 + *
21 23 * @param id
22 24 * @return
23 25 */
24   - ShyActivity selectById(@Param("id")Integer id);
  26 + ShyActivity selectById(@Param("id") Integer id);
25 27  
26 28 /**
27 29 * 根据 source 查询审核类型
  30 + *
28 31 * @param id
29 32 * @return
30 33 */
31   - Integer selectBySource(@Param("id")Integer id);
  34 + Integer selectBySource(@Param("id") Integer id);
32 35 }
33 36 \ No newline at end of file
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/AudioServiceImpl.java
... ... @@ -49,23 +49,53 @@ public class AudioServiceImpl {
49 49 @Value("${yiDun_audio_callback}")
50 50 String yiDun_audio_callback;
51 51  
  52 + /**
  53 + * 查询音频记录是否存在
  54 + *
  55 + * @param audioId
  56 + * @return
  57 + */
52 58 public ShyAudio getAudioMsg(String audioId) {
53 59 return shyAudioMapper.getAudioMsg(audioId);
54 60 }
55 61  
  62 + /**
  63 + * 导入音频记录
  64 + *
  65 + * @param shyAudio
  66 + * @return
  67 + */
56 68 public int importAudioMsg(ShyAudio shyAudio) {
57 69 return shyAudioMapper.insertSelective(shyAudio);
58 70 }
59 71  
  72 + /**
  73 + * 修改音频记录
  74 + *
  75 + * @param shyAudio
  76 + * @return
  77 + */
60 78 public int updateAudioMsg(ShyAudio shyAudio) {
61 79 return shyAudioMapper.updateByPrimaryKeySelective(shyAudio);
62 80 }
63 81  
  82 + /**
  83 + * 根据id查询音频对象
  84 + *
  85 + * @param id
  86 + * @return
  87 + */
64 88 public ShyAudio selectByPrimaryKey(Integer id) {
65 89 ShyAudio shyAudio = shyAudioMapper.selectByPrimaryKey(id);
66 90 return shyAudio;
67 91 }
68 92  
  93 + /**
  94 + * 根据音频条件查询符合条件的音频集合
  95 + *
  96 + * @param shyAudio
  97 + * @return
  98 + */
69 99 public List<ShyAudio> findshyAudio(ShyAudio shyAudio) {
70 100 List<ShyAudio> shyAudiolist = shyAudioMapper.selectByRowBounds(shyAudio, new RowBounds(0, 100));
71 101 return shyAudiolist;
... ... @@ -73,6 +103,7 @@ public class AudioServiceImpl {
73 103  
74 104 /**
75 105 * 更新音频和审核状态
  106 + *
76 107 * @param shyAudio
77 108 * @param audioState 视频状态,1通过,2不通过
78 109 * @return
... ... @@ -101,7 +132,15 @@ public class AudioServiceImpl {
101 132 return 0;
102 133 }
103 134  
104   - //认领
  135 + /**
  136 + * 认领
  137 + *
  138 + * @param ids
  139 + * @param num
  140 + * @param userId
  141 + * @param spid
  142 + * @return
  143 + */
105 144 public Integer receive(String ids, Integer num, String userId, Integer spid) {
106 145 Integer n = 0;
107 146 if (CommonUtils.isNotEmpty(ids)) {
... ... @@ -136,7 +175,13 @@ public class AudioServiceImpl {
136 175 return n;
137 176 }
138 177  
139   - //退领
  178 + /**
  179 + * 退领
  180 + *
  181 + * @param ids
  182 + * @param userId
  183 + * @return
  184 + */
140 185 public ResponseBean retReceive(String ids, String userId) {
141 186 String[] cids = ids.split(",");
142 187 for (String cid : cids) {
... ... @@ -187,6 +232,17 @@ public class AudioServiceImpl {
187 232 return showMsg;
188 233 }
189 234  
  235 + /**
  236 + * 根据id查询到音频对象进行修改
  237 + *
  238 + * @param id
  239 + * @param auditor_id
  240 + * @param updater
  241 + * @param attr_tags
  242 + * @param state
  243 + * @param msg
  244 + * @return
  245 + */
190 246 public int updateAudio(Integer id, String auditor_id, String updater, String attr_tags, Integer state, String msg) {
191 247 ShyAudio shyAudio = shyAudioMapper.selectByPrimaryKey(id);
192 248 shyAudio.setAuditor_id(auditor_id);
... ... @@ -206,8 +262,13 @@ public class AudioServiceImpl {
206 262 return shyAudioMapper.updateByPrimaryKey(shyAudio);
207 263 }
208 264  
209   - //分页查询音频数据
210   - public PageInfo<ShyAudio> getListContent(AudioDTO audioDTO) {
  265 + /**
  266 + * 分页查询音频数据
  267 + *
  268 + * @param audioDTO
  269 + * @return
  270 + */
  271 + public PageInfo<ShyAudio> getListAudios(AudioDTO audioDTO) {
211 272 Example example = new Example(ShyAudio.class);
212 273 Example.Criteria criteria = example.createCriteria();
213 274 if (CommonUtils.isNotEmpty(audioDTO.getOrderByClause())) {
... ... @@ -241,7 +302,7 @@ public class AudioServiceImpl {
241 302 criteria.andEqualTo("state", audioDTO.getState());
242 303 //是 我的已审,查通过和拒绝的两种状态
243 304 } else if (CommonUtils.isNotNull(audioDTO.getState()) && audioDTO.getState() == 3) {
244   - criteria.andBetween("state", CommonConst.AUDIT_SUCCESS,CommonConst.AUDIT_REFUSE);
  305 + criteria.andBetween("state", CommonConst.AUDIT_SUCCESS, CommonConst.AUDIT_REFUSE);
245 306 }
246 307  
247 308 //默认按上传时间倒序排序
... ... @@ -254,7 +315,7 @@ public class AudioServiceImpl {
254 315 }
255 316  
256 317  
257   - public ShyAudio getDetailsContent(Integer id) {
  318 + public ShyAudio getDetailsAudio(Integer id) {
258 319 ShyAudio shyAudio = shyAudioMapper.selectByPrimaryKey(id);
259 320 if (!shyAudio.getState().equals(CommonConst.AUDIT_INTT)) {
260 321 String updater = CommonUtils.isEmpty(shyAudio.getUploader()) || "null".equals(shyAudio.getUploader()) ? "白名单" : shyAudio.getUploader();
... ... @@ -342,6 +403,7 @@ public class AudioServiceImpl {
342 403 * 易盾点播音频过滤
343 404 * 音频送审时 给了回调地址
344 405 * 送审类型:1:文本 2:图片 3.网页 4:点播音频
  406 + *
345 407 * @param shyAudio
346 408 * @return
347 409 */
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/ChannelServiceImpl.java
... ... @@ -40,11 +40,22 @@ public class ChannelServiceImpl {
40 40 @Autowired
41 41 SitesServiceImpl sitesService;
42 42  
43   -
  43 + /**
  44 + * 根据条件查询频道集合
  45 + *
  46 + * @param shyChannel
  47 + * @return
  48 + */
44 49 public List<ShyChannel> findshyChannel(ShyChannel shyChannel) {
45 50 return shyChannelMapper.selectByRowBounds(shyChannel, new RowBounds(0, 100));
46 51 }
47 52  
  53 + /**
  54 + * 修改频道 返回布尔类型
  55 + *
  56 + * @param shyChannel
  57 + * @return
  58 + */
48 59 public boolean updateshyChannel(ShyChannel shyChannel) {
49 60 int result = shyChannelMapper.updateByPrimaryKey(shyChannel);
50 61 if (result == 0) {
... ... @@ -53,6 +64,12 @@ public class ChannelServiceImpl {
53 64 return true;
54 65 }
55 66  
  67 + /**
  68 + * 导入频道 返回布尔类型
  69 + *
  70 + * @param shyChannel
  71 + * @return
  72 + */
56 73 public boolean impotChannel(ShyChannel shyChannel) {
57 74 int result = shyChannelMapper.insertSelective(shyChannel);
58 75 if (result == 0) {
... ... @@ -61,6 +78,12 @@ public class ChannelServiceImpl {
61 78 return true;
62 79 }
63 80  
  81 + /**
  82 + * 获取分页、条件查询结果集
  83 + *
  84 + * @param channelDTO
  85 + * @return
  86 + */
64 87 public PageInfo<ShyChannel> getPage(ChannelDTO channelDTO) {
65 88 logger.info("接受参数对象为,ChannelDTO:{}", JSON.toJSONString(channelDTO));
66 89 Example example = new Example(ShyChannel.class);
... ... @@ -99,7 +122,7 @@ public class ChannelServiceImpl {
99 122 criteria.andEqualTo("shenhe_status", channelDTO.getShenhe_status());
100 123 //是 我的已审,查通过和拒绝的两种状态
101 124 } else if (CommonUtils.isNotNull(channelDTO.getShenhe_status()) && channelDTO.getShenhe_status() == 3) {
102   - criteria.andBetween("shenhe_status",CommonConst.AUDIT_SUCCESS,CommonConst.AUDIT_REFUSE);
  125 + criteria.andBetween("shenhe_status", CommonConst.AUDIT_SUCCESS, CommonConst.AUDIT_REFUSE);
103 126 }
104 127  
105 128 PageHelper.startPage(channelDTO.getPage(), channelDTO.getPageSize(), true);
... ... @@ -108,7 +131,13 @@ public class ChannelServiceImpl {
108 131 return pageInfo;
109 132 }
110 133  
111   - public ShyChannel getDetailsComment(Integer id) {
  134 + /**
  135 + * 获取频道详情
  136 + *
  137 + * @param id
  138 + * @return
  139 + */
  140 + public ShyChannel getDetailsChannel(Integer id) {
112 141 ShyChannel comment = shyChannelMapper.selectByPrimaryKey(id);
113 142 if (!comment.getShenhe_status().equals(CommonConst.AUDIT_INTT)) {
114 143 String updater = CommonUtils.isEmpty(comment.getUpdater()) || "null".equals(comment.getUpdater()) ? "白名单" : comment.getUpdater();
... ... @@ -126,6 +155,16 @@ public class ChannelServiceImpl {
126 155 return comment;
127 156 }
128 157  
  158 + /**
  159 + * 修改频道状态
  160 + *
  161 + * @param ids
  162 + * @param state
  163 + * @param userId
  164 + * @param updater
  165 + * @param msg
  166 + * @return
  167 + */
129 168 public boolean updateState(String ids, Integer state, String userId, String updater, String msg) {
130 169 boolean success = true;
131 170 String[] channelIds = ids.split(",");
... ... @@ -174,11 +213,23 @@ public class ChannelServiceImpl {
174 213 return success;
175 214 }
176 215  
  216 + /**
  217 + * 根据主键查询频道对象
  218 + *
  219 + * @param id
  220 + * @return
  221 + */
177 222 public ShyChannel selectByPrimaryKey(Integer id) {
178 223 ShyChannel shyChannel = shyChannelMapper.selectByPrimaryKey(id);
179 224 return shyChannel;
180 225 }
181 226  
  227 + /**
  228 + * 根据主键修改频道对象
  229 + *
  230 + * @param channel
  231 + * @return
  232 + */
182 233 public int updateByPrimaryKeySelective(ShyChannel channel) {
183 234 return shyChannelMapper.updateByPrimaryKeySelective(channel);
184 235 }
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/CommentsServiceImpl.java
... ... @@ -3,10 +3,8 @@ package com.cnlive.shenhe.serviceImpl;
3 3 import com.alibaba.fastjson.JSONObject;
4 4 import com.cnlive.shenhe.dto.CommentsDTO;
5 5 import com.cnlive.shenhe.entity.ShyComments;
6   -import com.cnlive.shenhe.entity.ShySites;
7 6 import com.cnlive.shenhe.entity.ShyUsers;
8 7 import com.cnlive.shenhe.mapper.ShyCommentsMapper;
9   -import com.cnlive.shenhe.mapper.ShySitesMapper;
10 8 import com.cnlive.shenhe.mapper.ShyUsersMapper;
11 9 import com.cnlive.shenhe.utils.AuditPass;
12 10 import com.cnlive.shenhe.utils.CommonConst;
... ... @@ -34,26 +32,30 @@ public class CommentsServiceImpl {
34 32 @Autowired
35 33 ShyCommentsMapper shyCommentsMapper;
36 34 @Autowired
37   - ShySitesMapper shySitesMapper;
38   - @Autowired
39 35 ShyUsersMapper shyUsersMapper;
40 36 @Autowired
41 37 AuditPass pass;
42   -
43 38 @Autowired
44 39 SitesServiceImpl sitesService;
45 40  
46   - public List<ShySites> getBusiness(ShySites shySites) {
47   - List<ShySites> sitesList = shySitesMapper.select(shySites);
48   - return sitesList;
49   - }
50 41  
51   - //**************************************
  42 + /**
  43 + * 根据评论对象获取评论集合
  44 + *
  45 + * @param shyComments
  46 + * @return
  47 + */
52 48 public List<ShyComments> findshyComments(ShyComments shyComments) {
53 49 List<ShyComments> commentsList = shyCommentsMapper.selectByRowBounds(shyComments, new RowBounds(0, 100));
54 50 return commentsList;
55 51 }
56 52  
  53 + /**
  54 + * 修改评论 返回布尔类型
  55 + *
  56 + * @param shyComments
  57 + * @return
  58 + */
57 59 public boolean updateshyComments1(ShyComments shyComments) {
58 60 int result = shyCommentsMapper.updateByPrimaryKey(shyComments);
59 61 if (result == 0) {
... ... @@ -62,6 +64,12 @@ public class CommentsServiceImpl {
62 64 return true;
63 65 }
64 66  
  67 + /**
  68 + * 导入评论 返回布尔类型
  69 + *
  70 + * @param shyComments
  71 + * @return
  72 + */
65 73 public boolean impotComments(ShyComments shyComments) {
66 74 int result = shyCommentsMapper.insertSelective(shyComments);
67 75 if (result == 0) {
... ... @@ -70,13 +78,12 @@ public class CommentsServiceImpl {
70 78 return true;
71 79 }
72 80  
73   - public int updateComment(Integer id, Integer state, String msg) {
74   - ShyComments shyComments = shyCommentsMapper.selectByPrimaryKey(id);
75   - shyComments.setState(state);
76   - shyComments.setMsg(msg);
77   - return shyCommentsMapper.updateByPrimaryKeySelective(shyComments);
78   - }
79   -
  81 + /**
  82 + * 评论分页、条件查询
  83 + *
  84 + * @param commentsDTO
  85 + * @return
  86 + */
80 87 public PageInfo<ShyComments> getPage(CommentsDTO commentsDTO) {
81 88 logger.info("接受参数对象为,CommentsDTO:{}", JSONObject.toJSON(commentsDTO));
82 89 Example example = new Example(ShyComments.class);
... ... @@ -123,7 +130,7 @@ public class CommentsServiceImpl {
123 130 if (CommonUtils.isNotNull(commentsDTO.getState()) && commentsDTO.getState() != 3) {
124 131 criteria.andEqualTo("state", commentsDTO.getState());
125 132 } else if (CommonUtils.isNotNull(commentsDTO.getState()) && commentsDTO.getState() == 3) {
126   - criteria.andBetween("state",CommonConst.AUDIT_SUCCESS,CommonConst.AUDIT_REFUSE);
  133 + criteria.andBetween("state", CommonConst.AUDIT_SUCCESS, CommonConst.AUDIT_REFUSE);
127 134 }
128 135  
129 136 PageHelper.startPage(commentsDTO.getPage(), commentsDTO.getPageSize(), true);
... ... @@ -132,6 +139,12 @@ public class CommentsServiceImpl {
132 139 return pageInfo;
133 140 }
134 141  
  142 + /**
  143 + * 导出Excel表格
  144 + *
  145 + * @param commentsDTO
  146 + * @return
  147 + */
135 148 public PageInfo<ShyComments> getPageExcel(CommentsDTO commentsDTO) {
136 149 Example example = new Example(ShyComments.class);
137 150 Example.Criteria criteria = example.createCriteria();
... ... @@ -175,7 +188,7 @@ public class CommentsServiceImpl {
175 188 criteria.andEqualTo("state", commentsDTO.getState());
176 189 //是 我的已审,查通过和拒绝的两种状态
177 190 } else if (CommonUtils.isNotNull(commentsDTO.getState()) && commentsDTO.getState() == 3) {
178   - criteria.andBetween("state",CommonConst.AUDIT_SUCCESS,CommonConst.AUDIT_REFUSE);
  191 + criteria.andBetween("state", CommonConst.AUDIT_SUCCESS, CommonConst.AUDIT_REFUSE);
179 192 }
180 193  
181 194 List<ShyComments> commentsList = shyCommentsMapper.selectByExample(example);
... ... @@ -183,6 +196,12 @@ public class CommentsServiceImpl {
183 196 return pageInfo;
184 197 }
185 198  
  199 + /**
  200 + * 获取评论详情
  201 + *
  202 + * @param id
  203 + * @return
  204 + */
186 205 public ShyComments getDetailsComment(Integer id) {
187 206 ShyComments comment = shyCommentsMapper.selectByPrimaryKey(id);
188 207 if (!comment.getState().equals(CommonConst.AUDIT_INTT)) {
... ... @@ -201,6 +220,16 @@ public class CommentsServiceImpl {
201 220 return comment;
202 221 }
203 222  
  223 + /**
  224 + * 修改状态 回调 返回布尔类型
  225 + *
  226 + * @param ids
  227 + * @param state
  228 + * @param userId
  229 + * @param updater
  230 + * @param msg
  231 + * @return
  232 + */
204 233 public boolean updateState(String ids, Integer state, String userId, String updater, String msg) {
205 234 boolean success = true;
206 235 String[] commentIds = ids.split(",");
... ... @@ -251,6 +280,15 @@ public class CommentsServiceImpl {
251 280 return success;
252 281 }
253 282  
  283 + /**
  284 + * 认领
  285 + *
  286 + * @param ids
  287 + * @param num
  288 + * @param userId
  289 + * @param spid
  290 + * @return
  291 + */
254 292 public Integer receive(String ids, Integer num, String userId, Integer spid) {
255 293 Integer n = 0;
256 294 if (CommonUtils.isNotEmpty(ids)) {
... ... @@ -285,6 +323,13 @@ public class CommentsServiceImpl {
285 323 return n;
286 324 }
287 325  
  326 + /**
  327 + * 退领
  328 + *
  329 + * @param ids
  330 + * @param userId
  331 + * @return
  332 + */
288 333 public Integer retReceive(String ids, String userId) {
289 334 Integer n = 0;
290 335 String[] cids = ids.split(",");
... ... @@ -302,11 +347,23 @@ public class CommentsServiceImpl {
302 347 return n;
303 348 }
304 349  
  350 + /**
  351 + * 根据主键id查询评论对象
  352 + *
  353 + * @param id
  354 + * @return
  355 + */
305 356 public ShyComments selectByPrimaryKey(Integer id) {
306 357 ShyComments shyComments = shyCommentsMapper.selectByPrimaryKey(id);
307 358 return shyComments;
308 359 }
309 360  
  361 + /**
  362 + * 根据主键id修改对象
  363 + *
  364 + * @param comments
  365 + * @return
  366 + */
310 367 public int updateByPrimaryKeySelective(ShyComments comments) {
311 368 return shyCommentsMapper.updateByPrimaryKeySelective(comments);
312 369 }
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
... ... @@ -4,7 +4,6 @@ import com.alibaba.fastjson.JSON;
4 4 import com.alibaba.fastjson.JSONObject;
5 5 import com.cnlive.shenhe.dto.ContentDTO;
6 6 import com.cnlive.shenhe.entity.*;
7   -import com.cnlive.shenhe.mapper.ShyCommentsMapper;
8 7 import com.cnlive.shenhe.mapper.ShyContentMapper;
9 8 import com.cnlive.shenhe.mapper.ShyUsersMapper;
10 9 import com.cnlive.shenhe.utils.*;
... ... @@ -14,7 +13,6 @@ import org.apache.ibatis.session.RowBounds;
14 13 import org.slf4j.Logger;
15 14 import org.slf4j.LoggerFactory;
16 15 import org.springframework.beans.factory.annotation.Autowired;
17   -import org.springframework.beans.factory.annotation.Value;
18 16 import org.springframework.stereotype.Service;
19 17 import tk.mybatis.mapper.entity.Example;
20 18  
... ... @@ -32,8 +30,6 @@ public class ContentServiceImpl {
32 30  
33 31 private static Logger logger = LoggerFactory.getLogger(ContentServiceImpl.class);
34 32 @Autowired
35   - ShyCommentsMapper shyCommentsMapper;
36   - @Autowired
37 33 ShyContentMapper shyContentMapper;
38 34 @Autowired
39 35 ShyUsersMapper shyUsersMapper;
... ... @@ -46,9 +42,13 @@ public class ContentServiceImpl {
46 42 @Autowired
47 43 YiDunServiceImpl yiDunServiceImpl;
48 44  
49   - @Value("${spring.localhost.url}")
50   - String localhost_url;
51 45  
  46 + /**
  47 + * 获取图文对象
  48 + *
  49 + * @param shyContent
  50 + * @return
  51 + */
52 52 public ShyContent getShyContent(ShyContent shyContent) {
53 53 List<ShyContent> shyContentList = shyContentMapper.select(shyContent);
54 54 if (CommonUtils.isNotNull(shyContentList) && shyContentList.size() > 0) {
... ... @@ -57,12 +57,21 @@ public class ContentServiceImpl {
57 57 return new ShyContent();
58 58 }
59 59  
60   - //**************************************
61   -
  60 + /**
  61 + * 获取图文集合
  62 + *
  63 + * @param shyContent
  64 + * @return
  65 + */
62 66 public List<ShyContent> findshyContent(ShyContent shyContent) {
63 67 return shyContentMapper.selectByRowBounds(shyContent, new RowBounds(0, 100));
64 68 }
65 69  
  70 + /**
  71 + * 根据条件 查询图文集合
  72 + *
  73 + * @return
  74 + */
66 75 public List<ShyContent> findShyContentWithWebPage() {
67 76 List checkParamList = new ArrayList();
68 77 //checkParamList.add("content");
... ... @@ -76,7 +85,12 @@ public class ContentServiceImpl {
76 85 return ShyContent;
77 86 }
78 87  
79   - //***************************
  88 + /**
  89 + * 修改图文 返回布尔类型
  90 + *
  91 + * @param shyContent
  92 + * @return
  93 + */
80 94 public boolean updateshyContent(ShyContent shyContent) {
81 95 int result = shyContentMapper.updateByPrimaryKeySelective(shyContent);
82 96 if (result == 0) {
... ... @@ -85,7 +99,12 @@ public class ContentServiceImpl {
85 99 return true;
86 100 }
87 101  
88   - //***************************
  102 + /**
  103 + * 导入图文 返回布尔类型
  104 + *
  105 + * @param shyContent
  106 + * @return
  107 + */
89 108 public boolean impotContent(ShyContent shyContent) {
90 109 int result = shyContentMapper.insertSelective(shyContent);
91 110 if (result == 0) {
... ... @@ -94,13 +113,12 @@ public class ContentServiceImpl {
94 113 return true;
95 114 }
96 115  
97   - public int updateComment(Integer id, Integer state, String msg) {
98   - ShyComments shyComments = shyCommentsMapper.selectByPrimaryKey(id);
99   - shyComments.setState(state);
100   - shyComments.setMsg(msg);
101   - return shyCommentsMapper.updateByPrimaryKeySelective(shyComments);
102   - }
103   -
  116 + /**
  117 + * 分页、条件查询 返回集合
  118 + *
  119 + * @param contentDTO
  120 + * @return
  121 + */
104 122 public PageInfo<ShyContent> getPage(ContentDTO contentDTO) {
105 123 Example example = new Example(ShyContent.class);
106 124 Example.Criteria criteria = example.createCriteria();
... ... @@ -188,7 +206,12 @@ public class ContentServiceImpl {
188 206 }
189 207  
190 208  
191   - //******************************
  209 + /**
  210 + * 根据id获取图文详情
  211 + *
  212 + * @param id
  213 + * @return
  214 + */
192 215 public ShyContent getDetailsContent(Integer id) {
193 216 ShyContent content = shyContentMapper.selectByPrimaryKey(id);
194 217 if (content.getReceive_status().equals(CommonConst.RECEIVE_AUDIT)) {
... ... @@ -211,7 +234,16 @@ public class ContentServiceImpl {
211 234 return content;
212 235 }
213 236  
214   - //**********************
  237 + /**
  238 + * 回调
  239 + *
  240 + * @param contentId
  241 + * @param msg
  242 + * @param state
  243 + * @param userId
  244 + * @param updater
  245 + * @return
  246 + */
215 247 public boolean callback(String contentId, String msg, Integer state, String userId, String updater) {
216 248 boolean success = true;
217 249 ShyContent content = shyContentMapper.selectByPrimaryKey(Integer.parseInt(contentId));
... ... @@ -283,6 +315,15 @@ public class ContentServiceImpl {
283 315 return success;
284 316 }
285 317  
  318 + /**
  319 + * 认领
  320 + *
  321 + * @param ids
  322 + * @param num
  323 + * @param userId
  324 + * @param spid
  325 + * @return
  326 + */
286 327 public Integer receive(String ids, Integer num, String userId, Integer spid) {
287 328 Integer n = 0;
288 329 if (CommonUtils.isNotEmpty(ids)) {
... ... @@ -319,6 +360,13 @@ public class ContentServiceImpl {
319 360 return n;
320 361 }
321 362  
  363 + /**
  364 + * 退领
  365 + *
  366 + * @param ids
  367 + * @param userId
  368 + * @return
  369 + */
322 370 public Integer retReceive(String ids, String userId) {
323 371 Integer n = 0;
324 372 String[] cids = ids.split(",");
... ... @@ -337,12 +385,23 @@ public class ContentServiceImpl {
337 385 return n;
338 386 }
339 387  
340   -
  388 + /**
  389 + * 根据主键查询图文对象
  390 + *
  391 + * @param id
  392 + * @return
  393 + */
341 394 public ShyContent selectByPrimaryKey(Integer id) {
342 395 ShyContent shyContent = shyContentMapper.selectByPrimaryKey(id);
343 396 return shyContent;
344 397 }
345 398  
  399 + /**
  400 + * 根据主键修改图文
  401 + *
  402 + * @param content
  403 + * @return
  404 + */
346 405 public int updateByPrimaryKeySelective(ShyContent content) {
347 406 return shyContentMapper.updateByPrimaryKeySelective(content);
348 407 }
... ... @@ -390,7 +449,7 @@ public class ContentServiceImpl {
390 449 String msg = jsonObject.getString("msg");
391 450 if (code != 200) {
392 451 // |0待发布 |1已发布 |2已下线
393   - boolean flag = callback(shyContent.getContent_id(), "易盾机审未通过:"+msg, CommonConst.AUDIT_REFUSE, shyContent.getAuditor_id(), shyContent.getUpdater());
  452 + boolean flag = callback(shyContent.getContent_id(), "易盾机审未通过:" + msg, CommonConst.AUDIT_REFUSE, shyContent.getAuditor_id(), shyContent.getUpdater());
394 453 }
395 454 JSONObject result = jsonObject.getJSONObject("result");
396 455 String dataId = result.getString("dataId");
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/EmailServiceImpl.java
... ... @@ -29,6 +29,12 @@ public class EmailServiceImpl {
29 29 @Autowired
30 30 ShyEmailMapper shyEmailMapper;
31 31  
  32 + /**
  33 + * 获取 分页 条件查询的结果集
  34 + *
  35 + * @param emailDTO
  36 + * @return
  37 + */
32 38 public PageInfo<ShyEmail> getPage(EmailDTO emailDTO) {
33 39 logger.info("接受参数列表为:{}", JSON.toJSONString(emailDTO));
34 40 Example example = new Example(ShyEmail.class);
... ... @@ -51,14 +57,35 @@ public class EmailServiceImpl {
51 57 return pageInfo;
52 58 }
53 59  
  60 + /**
  61 + * 根据主键id查询对象
  62 + *
  63 + * @param id
  64 + * @return
  65 + */
54 66 public ShyEmail get(Integer id) {
55 67 return shyEmailMapper.selectByPrimaryKey(id);
56 68 }
57 69  
  70 + /**
  71 + * 根据条件查询对象
  72 + *
  73 + * @param shyEmail
  74 + * @return
  75 + */
  76 +
58 77 public ShyEmail select(ShyEmail shyEmail) {
59 78 return shyEmailMapper.selectOne(shyEmail);
60 79 }
61 80  
  81 + /**
  82 + * 修改状态
  83 + *
  84 + * @param id
  85 + * @param isEnable
  86 + * @param userId
  87 + * @return
  88 + */
62 89 public Integer updateState(Integer id, Boolean isEnable, String userId) {
63 90 ShyEmail shyEmail = get(id);
64 91 shyEmail.setIs_enable(isEnable);
... ... @@ -67,6 +94,13 @@ public class EmailServiceImpl {
67 94 return shyEmailMapper.updateByPrimaryKeySelective(shyEmail);
68 95 }
69 96  
  97 + /**
  98 + * 删除
  99 + *
  100 + * @param id
  101 + * @param userId
  102 + * @return
  103 + */
70 104 public Integer deleted(Integer id, String userId) {
71 105 ShyEmail shyEmail = get(id);
72 106 shyEmail.setUpdater(userId);
... ... @@ -75,6 +109,16 @@ public class EmailServiceImpl {
75 109 return shyEmailMapper.updateByPrimaryKeySelective(shyEmail);
76 110 }
77 111  
  112 + /**
  113 + * 修改
  114 + *
  115 + * @param id
  116 + * @param email
  117 + * @param remark
  118 + * @param write
  119 + * @param updater
  120 + * @return
  121 + */
78 122 public boolean update(Integer id, String email, String remark, String write, String updater) {
79 123  
80 124 ShyEmail shyEmail = new ShyEmail();
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/LiveApplyServiceImpl.java
... ... @@ -40,7 +40,12 @@ public class LiveApplyServiceImpl {
40 40 @Autowired
41 41 SitesServiceImpl sitesService;
42 42  
43   - //==============
  43 + /**
  44 + * 导入直播申请
  45 + *
  46 + * @param shyLiveApply
  47 + * @return
  48 + */
44 49 public boolean impotLiveApply(ShyLiveapply shyLiveApply) {
45 50 int result = shyLiveApplyMapper.insertSelective(shyLiveApply);
46 51 if (result == 0) {
... ... @@ -49,18 +54,34 @@ public class LiveApplyServiceImpl {
49 54 return true;
50 55 }
51 56  
52   - //==============
  57 + /**
  58 + * 根据主键id查询直播申请对象
  59 + *
  60 + * @param id
  61 + * @return
  62 + */
53 63 public ShyLiveapply selectByPrimaryKey(Integer id) {
54 64 ShyLiveapply shyLiveApply = shyLiveApplyMapper.selectByPrimaryKey(id);
55 65 return shyLiveApply;
56 66 }
57 67  
58   - //=============
  68 + /**
  69 + * 根据条件查询直播申请集合
  70 + *
  71 + * @param shyLiveApply
  72 + * @return
  73 + */
59 74 public List<ShyLiveapply> findshyLiveApply(ShyLiveapply shyLiveApply) {
60 75 List<ShyLiveapply> shyLiveApplylist = shyLiveApplyMapper.selectByRowBounds(shyLiveApply, new RowBounds(0, 100));
61 76 return shyLiveApplylist;
62 77 }
63 78  
  79 + /**
  80 + * 根据活动id查询直播申请对象
  81 + *
  82 + * @param activity_id
  83 + * @return
  84 + */
64 85 public ShyLiveapply queryshyLiveApply(String activity_id) {
65 86 ShyLiveapply shyLiveApply = new ShyLiveapply();
66 87 shyLiveApply.setActivity_id(activity_id);
... ... @@ -68,7 +89,12 @@ public class LiveApplyServiceImpl {
68 89 return shyLiveApplylist.get(0);
69 90 }
70 91  
71   - //==============
  92 + /**
  93 + * 修改直播申请对象 返回布尔类型
  94 + *
  95 + * @param shyLiveApply
  96 + * @return
  97 + */
72 98 public boolean updateshyLiveApply(ShyLiveapply shyLiveApply) {
73 99 int i = shyLiveApplyMapper.updateByPrimaryKey(shyLiveApply);
74 100 if (i == 0) {
... ... @@ -77,7 +103,16 @@ public class LiveApplyServiceImpl {
77 103 return true;
78 104 }
79 105  
80   - //==============
  106 + /**
  107 + * 修改直播申请对象 返回int类型
  108 + *
  109 + * @param id
  110 + * @param auditor_id
  111 + * @param updater
  112 + * @param status
  113 + * @param msg
  114 + * @return
  115 + */
81 116 public int updateLiveApply(Integer id, String auditor_id, String updater, Integer status, String msg) {
82 117 ShyLiveapply shyLiveapply = shyLiveApplyMapper.selectByPrimaryKey(id);
83 118 shyLiveapply.setAuditor(auditor_id);
... ... @@ -89,7 +124,12 @@ public class LiveApplyServiceImpl {
89 124 return shyLiveApplyMapper.updateByPrimaryKey(shyLiveapply);
90 125 }
91 126  
92   - //===============
  127 + /**
  128 + * 获取分页、条件查询
  129 + *
  130 + * @param liveApplyDTO
  131 + * @return
  132 + */
93 133 public PageInfo<ShyLiveapply> getListLiveApply(LiveApplyDTO liveApplyDTO) {
94 134 logger.info("接参数列表为,LiveApplyDTO:{}", JSON.toJSONString(liveApplyDTO));
95 135 Example example = new Example(ShyLiveapply.class);
... ... @@ -132,7 +172,7 @@ public class LiveApplyServiceImpl {
132 172 criteria.andEqualTo("shenhe_state", liveApplyDTO.getShenhe_state());
133 173 //是 我的已审,查通过和拒绝的两种状态
134 174 } else if (CommonUtils.isNotNull(liveApplyDTO.getShenhe_state()) && liveApplyDTO.getShenhe_state() == 3) {
135   - criteria.andBetween("shenhe_state",CommonConst.AUDIT_SUCCESS,CommonConst.AUDIT_REFUSE);
  175 + criteria.andBetween("shenhe_state", CommonConst.AUDIT_SUCCESS, CommonConst.AUDIT_REFUSE);
136 176 }
137 177 if (CommonUtils.isNotNull(liveApplyDTO.getReceive())) {
138 178 criteria.andEqualTo("receive", liveApplyDTO.getReceive());
... ... @@ -146,8 +186,13 @@ public class LiveApplyServiceImpl {
146 186 return pageInfo;
147 187 }
148 188  
149   - //======================
150   - public ShyLiveapply getDetailsLive(Integer id) {
  189 + /**
  190 + * 获取直播申请详情
  191 + *
  192 + * @param id
  193 + * @return
  194 + */
  195 + public ShyLiveapply getDetailsLiveApply(Integer id) {
151 196 ShyLiveapply shyLiveapply = shyLiveApplyMapper.selectByPrimaryKey(id);
152 197 if (!shyLiveapply.getShenhe_state().equals(CommonConst.RECEIVE_BEFORE)) {
153 198 String updater = CommonUtils.isEmpty(shyLiveapply.getUpdater()) || "null".equals(shyLiveapply.getUpdater()) ? "自动通过" : shyLiveapply.getUpdater();
... ... @@ -165,7 +210,15 @@ public class LiveApplyServiceImpl {
165 210 return shyLiveapply;
166 211 }
167 212  
168   - //====================
  213 + /**
  214 + * 认领
  215 + *
  216 + * @param ids
  217 + * @param num
  218 + * @param userId
  219 + * @param spid
  220 + * @return
  221 + */
169 222 public Integer receive(String ids, Integer num, String userId, Integer spid) {
170 223 Integer n = 0;
171 224 if (CommonUtils.isNotEmpty(ids)) {
... ... @@ -203,7 +256,13 @@ public class LiveApplyServiceImpl {
203 256 return n;
204 257 }
205 258  
206   - //================
  259 + /**
  260 + * 退领
  261 + *
  262 + * @param ids
  263 + * @param userId
  264 + * @return
  265 + */
207 266 public ResponseBean retReceive(String ids, String userId) {
208 267 String[] cids = ids.split(",");
209 268 for (String cid : cids) {
... ... @@ -269,7 +328,7 @@ public class LiveApplyServiceImpl {
269 328 criteria.andEqualTo("shenhe_state", liveApplyDTO.getShenhe_state());
270 329 //是 我的已审,查通过和拒绝的两种状态
271 330 } else if (CommonUtils.isNotNull(liveApplyDTO.getShenhe_state()) && liveApplyDTO.getShenhe_state() == 3) {
272   - criteria.andBetween("shenhe_state",CommonConst.AUDIT_SUCCESS,CommonConst.AUDIT_REFUSE);
  331 + criteria.andBetween("shenhe_state", CommonConst.AUDIT_SUCCESS, CommonConst.AUDIT_REFUSE);
273 332 }
274 333 if (CommonUtils.isNotNull(liveApplyDTO.getReceive())) {
275 334 criteria.andEqualTo("receive", liveApplyDTO.getReceive());
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/LiveServiceImpl.java
... ... @@ -116,7 +116,7 @@ public class LiveServiceImpl {
116 116 * @param liveDTO
117 117 * @return
118 118 */
119   - public PageInfo<ShyLive> getListContent(LiveDTO liveDTO) {
  119 + public PageInfo<ShyLive> getListLive(LiveDTO liveDTO) {
120 120 logger.info("接受参数对象,LiveDTO:{}", JSON.toJSONString(liveDTO));
121 121 Example example = new Example(ShyLive.class);
122 122 example.setOrderByClause("`created_at` desc");
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/NotspeakServiceImpl.java
... ... @@ -39,28 +39,23 @@ public class NotspeakServiceImpl {
39 39 ShyNotspeakMapper shyNotspeakMapper;
40 40 @Autowired
41 41 AuditPass pass;
42   -
43   - @Value("${spring.localhost.url}")
44   - String localhost_url;
45   -
46 42 @Value("${speak_comment}")
47 43 String speak_comment;
48 44  
49   - public ShyNotspeak getShySpeak(ShyNotspeak shyNotspeak) {
50   - List<ShyNotspeak> shyNotspeakList = shyNotspeakMapper.select(shyNotspeak);
51   - if (CommonUtils.isNotNull(shyNotspeakList) && shyNotspeakList.size() > 0) {
52   - return shyNotspeakList.get(0);
53   - }
54   - return new ShyNotspeak();
55   - }
56   -
57   - //**************************************
  45 + /**
  46 + * 根据条件获取禁言集合列表
  47 + * @param shyNotspeak
  48 + * @return
  49 + */
58 50 public List<ShyNotspeak> findshyNotspeak(ShyNotspeak shyNotspeak) {
59   -
60 51 return shyNotspeakMapper.selectByRowBounds(shyNotspeak, new RowBounds(0, 100));
61 52 }
62 53  
63   - //***************************
  54 + /**
  55 + * 根据主键修改禁言 返回布尔类型
  56 + * @param shyNotspeak
  57 + * @return
  58 + */
64 59 public boolean updateshyNotspeak(ShyNotspeak shyNotspeak) {
65 60 int result = shyNotspeakMapper.updateByPrimaryKey(shyNotspeak);
66 61 if (result == 0) {
... ... @@ -69,7 +64,11 @@ public class NotspeakServiceImpl {
69 64 return true;
70 65 }
71 66  
72   - //***************************
  67 + /**
  68 + * 导入禁言对象 返货布尔类型
  69 + * @param shyNotspeak
  70 + * @return
  71 + */
73 72 public boolean impotshyNotspeak(ShyNotspeak shyNotspeak) {
74 73 int result = shyNotspeakMapper.insertSelective(shyNotspeak);
75 74 if (result == 0) {
... ... @@ -78,6 +77,13 @@ public class NotspeakServiceImpl {
78 77 return true;
79 78 }
80 79  
  80 + /**
  81 + * 根据评论禁言
  82 + * @param commentId
  83 + * @param time
  84 + * @param userId
  85 + * @return
  86 + */
81 87 public ResponseBean notSpeakByComment(Integer commentId, Integer time, String userId) {
82 88 ResponseBean success;
83 89 ShyComments comment = shyCommentsMapper.selectByPrimaryKey(commentId);
... ... @@ -125,6 +131,12 @@ public class NotspeakServiceImpl {
125 131 return new ResponseBean();
126 132 }
127 133  
  134 + /**
  135 + * 查询禁言状态
  136 + * @param commentId
  137 + * @param userId
  138 + * @return
  139 + */
128 140 public ResponseBean querySpeakState(Integer commentId, String userId) {
129 141 ShyComments comment = shyCommentsMapper.selectByPrimaryKey(commentId);
130 142 ShyNotspeak shyNotspeak = new ShyNotspeak();
... ... @@ -138,6 +150,14 @@ public class NotspeakServiceImpl {
138 150 return new ResponseBean();
139 151 }
140 152  
  153 + /**
  154 + * 禁言回调
  155 + * @param notSpeakId
  156 + * @param type
  157 + * @param time
  158 + * @param userId
  159 + * @return
  160 + */
141 161 public ResponseBean speak(Integer notSpeakId, Integer type, Integer time, String userId) {
142 162 ResponseBean success;
143 163 ShyNotspeak shyNotspeak = selectByPrimaryKey(notSpeakId);
... ... @@ -233,11 +253,15 @@ public class NotspeakServiceImpl {
233 253 shyNotspeak.setUpdater("");
234 254 shyNotspeak.setAuditor(userId);
235 255 result = impotshyNotspeak(shyNotspeak);
236   -
237 256 }
238 257 return result;
239 258 }
240 259  
  260 + /**
  261 + * 获取禁言分页、条件查询列表
  262 + * @param notSpeakDTO
  263 + * @return
  264 + */
241 265 public PageInfo<ShyNotspeak> getPage(NotSpeakDTO notSpeakDTO) {
242 266 logger.info("接受参数对象为,NotSpeakDTO:{}", JSON.toJSONString(notSpeakDTO));
243 267 Example example = new Example(ShyNotspeak.class);
... ... @@ -256,7 +280,6 @@ public class NotspeakServiceImpl {
256 280 if (CommonUtils.isNotNull(notSpeakDTO.getState())) {
257 281 criteria.andEqualTo("state", notSpeakDTO.getState());
258 282 }
259   -
260 283 PageHelper.startPage(notSpeakDTO.getPage(), notSpeakDTO.getPageSize(), true);
261 284 List<ShyNotspeak> shyNotspeakList = shyNotspeakMapper.selectByExample(example);
262 285 PageInfo<ShyNotspeak> pageInfo = new PageInfo<>(shyNotspeakList);
... ... @@ -264,12 +287,21 @@ public class NotspeakServiceImpl {
264 287 }
265 288  
266 289  
267   - //**************************************
  290 + /**
  291 + * 根据主键id查询禁言对象
  292 + * @param id
  293 + * @return
  294 + */
268 295 public ShyNotspeak selectByPrimaryKey(Integer id) {
269 296 ShyNotspeak shyNotspeak = shyNotspeakMapper.selectByPrimaryKey(id);
270 297 return shyNotspeak;
271 298 }
272 299  
  300 + /**
  301 + * 根据主键修改禁言对象
  302 + * @param shyNotspeak
  303 + * @return
  304 + */
273 305 public int updateByPrimaryKeySelective(ShyNotspeak shyNotspeak) {
274 306 return shyNotspeakMapper.updateByPrimaryKeySelective(shyNotspeak);
275 307 }
... ... @@ -279,12 +311,9 @@ public class NotspeakServiceImpl {
279 311 Example.Criteria criteria = example.createCriteria();
280 312 criteria.andEqualTo("state", CommonConst.SPEAK_NOT);
281 313 criteria.andLessThan("end_time", CommonUtils.getCurrentTime());
282   -
283 314 List<ShyNotspeak> shyNotspeakList = shyNotspeakMapper.selectByExample(example);
284 315 return shyNotspeakList;
285 316 }
286   -
287   -
288 317 }
289 318  
290 319  
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/ShyActivityImpl.java
... ... @@ -52,7 +52,6 @@ public class ShyActivityImpl {
52 52 * @return
53 53 */
54 54 public int deleteShyActivity(Integer id) {
55   -
56 55 int i = shyActivityMapper.deleteByPrimaryKey(id);
57 56 return i;
58 57 }
... ... @@ -113,10 +112,10 @@ public class ShyActivityImpl {
113 112 return shyActivities;
114 113 }
115 114  
  115 +
116 116 /**
117 117 * 查询所有的数据
118   - */
119   - /**
  118 + *
120 119 * @return
121 120 */
122 121 public List<ShyActivity> selectAll() {
... ... @@ -126,18 +125,28 @@ public class ShyActivityImpl {
126 125  
127 126 /**
128 127 * 根据id查询单个对象
  128 + *
  129 + * @param id
  130 + * @return
129 131 */
130   - public ShyActivity selectById(Integer id) {
  132 + public Boolean selectById(Integer id) {
131 133 ShyActivity shyActivity = shyActivityMapper.selectById(id);
132   - return shyActivity;
  134 + if (shyActivity == null) {
  135 + return true;
  136 + }
  137 + return false;
  138 +
133 139 }
134 140  
  141 +
135 142 /**
136 143 * 根据source查询审核类型
  144 + *
  145 + * @param id
  146 + * @return
137 147 */
138 148 public Integer selectBySource(Integer id) {
139 149 Integer shtype = shyActivityMapper.selectBySource(id);
140 150 return shtype;
141 151 }
142   -
143 152 }
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/ShyLogServiceImpl.java
... ... @@ -39,9 +39,7 @@ public class ShyLogServiceImpl {
39 39 //如果为空 按照倒序排序 分页查询所有
40 40 //以创建时间为条件进行倒序
41 41 example.setOrderByClause("`operation_time` desc");
42   -
43 42 Example.Criteria criteria = example.createCriteria();
44   -
45 43 // 如果查询条件不为空 按照条件走模糊查询
46 44 if (shyLogDTO.getVideoId() != null) {
47 45 criteria.andLike("videoId", "%" + shyLogDTO.getVideoId() + "%");
... ... @@ -63,5 +61,4 @@ public class ShyLogServiceImpl {
63 61 int i = shyLogMapper.insertSelective(shyLog);
64 62 return i;
65 63 }
66   -
67 64 }
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/SitesServiceImpl.java
... ... @@ -33,6 +33,12 @@ public class SitesServiceImpl {
33 33 @Autowired
34 34 UsersServiceImpl usersService;
35 35  
  36 + /**
  37 + * 分页、条件查询 返回列表
  38 + *
  39 + * @param sitesDTO
  40 + * @return
  41 + */
36 42 public PageInfo<ShySites> getPage(SitesDTO sitesDTO) {
37 43 logger.info("接受参数列表为,SitesDTO:{}", JSON.toJSONString(sitesDTO));
38 44 Example example = new Example(ShySites.class);
... ... @@ -56,20 +62,32 @@ public class SitesServiceImpl {
56 62 return pageInfo;
57 63 }
58 64  
59   -
  65 + /**
  66 + * 根据主键id查询白名单对象
  67 + *
  68 + * @param siteId
  69 + * @return
  70 + */
60 71 public ShySites get(Integer siteId) {
61 72 return shySitesMapper.selectByPrimaryKey(siteId);
62 73 }
63 74  
  75 + /**
  76 + * 根据主键修改白名单对象
  77 + *
  78 + * @param site
  79 + * @return
  80 + */
64 81 public boolean update(ShySites site) {
65 82 return shySitesMapper.updateByPrimaryKeySelective(site) == 1;
66 83 }
67 84  
68   - public List<ShySites> findAll() {
69   - List<ShySites> shySites = shySitesMapper.selectAll();
70   - return shySites;
71   - }
72   -
  85 + /**
  86 + * 根据spid查询白名单对象
  87 + *
  88 + * @param spId
  89 + * @return
  90 + */
73 91 public ShySites findspidDescByspid(int spId) {
74 92 Example example = new Example(ShySites.class);
75 93 Example.Criteria criteria = example.createCriteria();
... ... @@ -83,6 +101,12 @@ public class SitesServiceImpl {
83 101 return null;
84 102 }
85 103  
  104 + /**
  105 + * 根据name查询白名单对象
  106 + *
  107 + * @param sp_desc
  108 + * @return
  109 + */
86 110 public ShySites findspidBySpdesc(String sp_desc) {
87 111 Example example = new Example(ShySites.class);
88 112 Example.Criteria criteria = example.createCriteria();
... ... @@ -116,6 +140,13 @@ public class SitesServiceImpl {
116 140 return sites;
117 141 }
118 142  
  143 + /**
  144 + * 获取用户(操作人)
  145 + *
  146 + * @param updater
  147 + * @param auditor_id
  148 + * @return
  149 + */
119 150 public String getUpdater(String updater, String auditor_id) {
120 151  
121 152 if (CommonUtils.isNotEmpty(auditor_id)) {
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/TopicServiceImpl.java
... ... @@ -3,10 +3,8 @@ package com.cnlive.shenhe.serviceImpl;
3 3 import com.alibaba.fastjson.JSON;
4 4 import com.alibaba.fastjson.JSONObject;
5 5 import com.cnlive.shenhe.dto.TopicDTO;
6   -import com.cnlive.shenhe.entity.ShyComments;
7 6 import com.cnlive.shenhe.entity.ShyContent;
8 7 import com.cnlive.shenhe.entity.ShyTopic;
9   -import com.cnlive.shenhe.mapper.ShyCommentsMapper;
10 8 import com.cnlive.shenhe.mapper.ShyTopicMapper;
11 9 import com.cnlive.shenhe.utils.CommonConst;
12 10 import com.cnlive.shenhe.utils.CommonUtils;
... ... @@ -17,7 +15,6 @@ import org.apache.ibatis.session.RowBounds;
17 15 import org.slf4j.Logger;
18 16 import org.slf4j.LoggerFactory;
19 17 import org.springframework.beans.factory.annotation.Autowired;
20   -import org.springframework.beans.factory.annotation.Value;
21 18 import org.springframework.stereotype.Service;
22 19 import tk.mybatis.mapper.entity.Example;
23 20  
... ... @@ -34,17 +31,12 @@ public class TopicServiceImpl {
34 31  
35 32 private static Logger logger = LoggerFactory.getLogger(TopicServiceImpl.class);
36 33 @Autowired
37   - ShyCommentsMapper shyCommentsMapper;
38   - @Autowired
39 34 ShyTopicMapper shyTopicMapper;
40 35 @Autowired
41 36 TransitServiceUtils transitServiceUtils;
42 37 @Autowired
43 38 SitesServiceImpl sitesService;
44 39  
45   - @Value("${spring.localhost.url}")
46   - String localhost_url;
47   -
48 40 public ShyTopic getShyTopic(ShyTopic shyTopic) {
49 41 List<ShyTopic> shyTopicList = shyTopicMapper.select(shyTopic);
50 42 if (CommonUtils.isNotNull(shyTopicList) && shyTopicList.size() > 0) {
... ... @@ -53,13 +45,22 @@ public class TopicServiceImpl {
53 45 return new ShyTopic();
54 46 }
55 47  
56   - //**************************************
  48 + /**
  49 + * 根据条件获取话题列表集合
  50 + *
  51 + * @param shyTopic
  52 + * @return
  53 + */
57 54 public List<ShyTopic> findshyTopic(ShyTopic shyTopic) {
58   -
59 55 return shyTopicMapper.selectByRowBounds(shyTopic, new RowBounds(0, 100));
60 56 }
61 57  
62   - //***************************
  58 + /**
  59 + * 修改话题 返回布尔类型
  60 + *
  61 + * @param shyTopic
  62 + * @return
  63 + */
63 64 public boolean updateshyTopic(ShyTopic shyTopic) {
64 65 int result = shyTopicMapper.updateByPrimaryKey(shyTopic);
65 66 if (result == 0) {
... ... @@ -68,7 +69,12 @@ public class TopicServiceImpl {
68 69 return true;
69 70 }
70 71  
71   - //***************************
  72 + /**
  73 + * 导入话题 返回布尔类型
  74 + *
  75 + * @param shyTopic
  76 + * @return
  77 + */
72 78 public boolean impotshyTopic(ShyTopic shyTopic) {
73 79 int result = shyTopicMapper.insertSelective(shyTopic);
74 80 if (result == 0) {
... ... @@ -77,13 +83,12 @@ public class TopicServiceImpl {
77 83 return true;
78 84 }
79 85  
80   - public int updateComment(Integer id, Integer state, String msg) {
81   - ShyComments shyComments = shyCommentsMapper.selectByPrimaryKey(id);
82   - shyComments.setState(state);
83   - shyComments.setMsg(msg);
84   - return shyCommentsMapper.updateByPrimaryKeySelective(shyComments);
85   - }
86   -
  86 + /**
  87 + * 分页、条件查询列表
  88 + *
  89 + * @param topicDTO
  90 + * @return
  91 + */
87 92 public PageInfo<ShyTopic> getPage(TopicDTO topicDTO) {
88 93 logger.info("接受参数列表为,TopicDTO:{}", JSON.toJSONString(topicDTO));
89 94 Example example = new Example(ShyTopic.class);
... ... @@ -122,7 +127,7 @@ public class TopicServiceImpl {
122 127 criteria.andEqualTo("shenhe_status", topicDTO.getShenhe_status());
123 128 //是 我的已审,查通过和拒绝的两种状态
124 129 } else if (CommonUtils.isNotNull(topicDTO.getShenhe_status()) && topicDTO.getShenhe_status() == 3) {
125   - criteria.andBetween("shenhe_status",CommonConst.AUDIT_SUCCESS,CommonConst.AUDIT_REFUSE);
  130 + criteria.andBetween("shenhe_status", CommonConst.AUDIT_SUCCESS, CommonConst.AUDIT_REFUSE);
126 131 }
127 132 PageHelper.startPage(topicDTO.getPage(), topicDTO.getPageSize(), true);
128 133 List<ShyTopic> topicList = shyTopicMapper.selectByExample(example);
... ... @@ -172,7 +177,16 @@ public class TopicServiceImpl {
172 177 }
173 178  
174 179  
175   - //**********************
  180 + /**
  181 + * 话题回调
  182 + *
  183 + * @param id
  184 + * @param msg
  185 + * @param state
  186 + * @param userId
  187 + * @param updater
  188 + * @return
  189 + */
176 190 public boolean callback(String id, String msg, Integer state, String userId, String updater) {
177 191 boolean success = true;
178 192 ShyTopic topic = shyTopicMapper.selectByPrimaryKey(Integer.parseInt(id));
... ... @@ -185,14 +199,17 @@ public class TopicServiceImpl {
185 199 logger.error("话题审核回调失败,话题表id:{}", topic.getId());
186 200 return success;
187 201 }
188   -
189   - topic.setShenhe_status(state);// 设置话题状态为审核后的状态
190   - topic.setShenhe_msg(msg);// 设置审核消息
  202 + // 设置话题状态为审核后的状态
  203 + topic.setShenhe_status(state);
  204 + // 设置审核消息
  205 + topic.setShenhe_msg(msg);
191 206 if (CommonUtils.isNotEmpty(userId)) {
192 207 topic.setAuditor_id(userId);
193   - topic.setShenhe_type(CommonConst.AUDIT_TYPE_USER);// 设置审核类型为人工
  208 + // 设置审核类型为人工
  209 + topic.setShenhe_type(CommonConst.AUDIT_TYPE_USER);
194 210 } else {
195   - topic.setUpdater(updater);//设置更新人
  211 + //设置更新人
  212 + topic.setUpdater(updater);
196 213 }
197 214 topic.setUpdate_date(CommonUtils.getCurrentTime());
198 215 int i = shyTopicMapper.updateByPrimaryKeySelective(topic);
... ... @@ -204,12 +221,23 @@ public class TopicServiceImpl {
204 221 }
205 222  
206 223  
207   - //**************************************
  224 + /**
  225 + * 根据主键id查询话题对象
  226 + *
  227 + * @param id
  228 + * @return
  229 + */
208 230 public ShyTopic selectByPrimaryKey(Integer id) {
209 231 ShyTopic shyTopic = shyTopicMapper.selectByPrimaryKey(id);
210 232 return shyTopic;
211 233 }
212 234  
  235 + /**
  236 + * 根据主键修改话题对象
  237 + *
  238 + * @param topic
  239 + * @return
  240 + */
213 241 public int updateByPrimaryKeySelective(ShyTopic topic) {
214 242 return shyTopicMapper.updateByPrimaryKeySelective(topic);
215 243 }
... ... @@ -220,7 +248,6 @@ public class TopicServiceImpl {
220 248 * @param spId
221 249 */
222 250 public Integer getShenheType(Integer spId) {
223   -
224 251 //获取图文免审sp
225 252 List<Integer> sites = sitesService.getBusinessList(CommonConst.BUSINESS_TOPIC);
226 253 //初始化一个审核状态
... ... @@ -230,14 +257,9 @@ public class TopicServiceImpl {
230 257 if (sites.contains(spId)) {
231 258 //免审
232 259 shenheType = CommonConst.AUDIT_TYPE_FREE;
233   - } else {
234   - //人工审
235   - shenheType = CommonConst.AUDIT_TYPE_USER;
236 260 }
237 261 return shenheType;
238 262 }
239   -
240   -
241 263 }
242 264  
243 265  
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/UsersServiceImpl.java
... ... @@ -66,14 +66,33 @@ public class UsersServiceImpl {
66 66 return null;
67 67 }
68 68  
  69 + /**
  70 + * 根据主键id查询用户对象
  71 + *
  72 + * @param id
  73 + * @return
  74 + */
  75 +
69 76 public ShyUsers get(Integer id) {
70 77 return shyUsersMapper.selectByPrimaryKey(id);
71 78 }
72 79  
  80 + /**
  81 + * 根据对象查询
  82 + *
  83 + * @param shyUsers
  84 + * @return
  85 + */
73 86 public ShyUsers select(ShyUsers shyUsers) {
74 87 return shyUsersMapper.selectOne(shyUsers);
75 88 }
76 89  
  90 + /**
  91 + * 修改用户
  92 + *
  93 + * @param shyUsers
  94 + * @return
  95 + */
77 96 public boolean update(ShyUsers shyUsers) {
78 97 return shyUsersMapper.updateByPrimaryKeySelective(shyUsers) == 1;
79 98 }
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/UsersfreeServiceImpl.java
... ... @@ -31,20 +31,45 @@ public class UsersfreeServiceImpl {
31 31 @Autowired
32 32 AuditPass pass;
33 33  
  34 + /**
  35 + * 根据主键id查询用户白名单
  36 + *
  37 + * @param id
  38 + * @return
  39 + */
34 40 public ShyUsersfree get(Integer id) {
35 41 return shyUsersfreeMapper.selectByPrimaryKey(id);
36 42 }
37 43  
  44 + /**
  45 + * 根据用户白名单对象查询
  46 + *
  47 + * @param shyUsersfree
  48 + * @return
  49 + */
38 50 public ShyUsersfree select(ShyUsersfree shyUsersfree) {
39 51 return shyUsersfreeMapper.selectOne(shyUsersfree);
40 52 }
41 53  
  54 + /**
  55 + * 修改白名单状态
  56 + *
  57 + * @param id
  58 + * @param isEnable
  59 + * @return
  60 + */
42 61 public Integer updateState(Integer id, Boolean isEnable) {
43 62 ShyUsersfree shyUsersfree = get(id);
44 63 shyUsersfree.setIs_enable(isEnable);
45 64 return shyUsersfreeMapper.updateByPrimaryKeySelective(shyUsersfree);
46 65 }
47 66  
  67 + /**
  68 + * 分页、条件查询列表
  69 + *
  70 + * @param usersFreeDTO
  71 + * @return
  72 + */
48 73 public PageInfo<ShyUsersfree> getpage(UsersFreeDTO usersFreeDTO) {
49 74 logger.info("接受参数列表为,UsersFreeDTO:{}", JSON.toJSONString(usersFreeDTO));
50 75 Example example = new Example(ShyUsers.class);
... ... @@ -87,6 +112,15 @@ public class UsersfreeServiceImpl {
87 112 return null;
88 113 }
89 114  
  115 + /**
  116 + * 回调
  117 + * @param userId
  118 + * @param userMobile
  119 + * @param write
  120 + * @param spId
  121 + * @param updater
  122 + * @return
  123 + */
90 124 public boolean update(String userId, String userMobile, String write, Integer spId, String updater) {
91 125 JSONObject result = new JSONObject();
92 126 try {
... ... @@ -139,16 +173,12 @@ public class UsersfreeServiceImpl {
139 173 shyUserfree.setUpdater(updater);
140 174 shyUserfree.setIs_delete(false);
141 175 shyUserfree.setIs_enable(true);
142   -
143 176 int re = shyUsersfreeMapper.insertSelective(shyUserfree);
144 177 if (re != 1) {
145 178 return false;
146 179 }
147 180 }
148 181 }
149   -
150 182 return true;
151 183 }
152   -
153   -
154 184 }
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/VideofilterServiceImpl.java
... ... @@ -5,8 +5,6 @@ import com.cnlive.shenhe.mapper.ShyVideofilterMapper;
5 5 import org.springframework.beans.factory.annotation.Autowired;
6 6 import org.springframework.stereotype.Service;
7 7  
8   -import java.util.List;
9   -
10 8 /**
11 9 * @Auther: liwei
12 10 * @Date: 2019/04/22 14:23
... ... @@ -17,27 +15,23 @@ public class VideofilterServiceImpl {
17 15 @Autowired
18 16 ShyVideofilterMapper shyVideofilterMapper;
19 17  
20   -
  18 + /**
  19 + * 根据主键id查询视频详情
  20 + *
  21 + * @param id
  22 + * @return
  23 + */
21 24 public ShyVideofilter get(Integer id) {
22 25 return shyVideofilterMapper.selectByPrimaryKey(id);
23 26 }
24 27  
  28 + /**
  29 + * 修改视频详情
  30 + *
  31 + * @param videofilter
  32 + * @return
  33 + */
25 34 public boolean update(ShyVideofilter videofilter) {
26 35 return shyVideofilterMapper.updateByPrimaryKeySelective(videofilter) == 1;
27 36 }
28   -
29   - public List<ShyVideofilter> findAll() {
30   - List<ShyVideofilter> shySites = shyVideofilterMapper.selectAll();
31   - return shySites;
32   - }
33   -
34   - public boolean impotVideofilter(ShyVideofilter videofilter) {
35   - int result = shyVideofilterMapper.insertSelective(videofilter);
36   - if (result == 0) {
37   - return false;
38   - }
39   - return true;
40   - }
41   -
42   -
43 37 }
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
... ... @@ -42,32 +42,29 @@ public class VideosServiceImpl {
42 42 private ShyVideosMapper shyVideosMapper;
43 43 @Autowired
44 44 private ShyUsersMapper shyUsersMapper;
45   -
46 45 @Autowired
47 46 private VideosServiceImpl videosService;
48 47 @Autowired
49 48 private SitesServiceImpl sitesService;
50   -
51 49 @Autowired
52 50 private UsersfreeServiceImpl usersfreeServiceImpl;
53   -
54 51 @Autowired
55 52 private YiDunServiceImpl yiDunServiceImpl;
56 53 @Autowired
57 54 private ShyActivityImpl shyActivityImpl;
58   -
59 55 @Value("${qn_domain}")
60 56 private String qn_domain;
61   -
62 57 @Value("${ks_domain}")
63 58 private String ks_domain;
64   -
65 59 @Autowired
66 60 private AuditPass pass;
67 61  
68   - @Autowired
69   - private ShyLogServiceImpl shyLogService;
70   -
  62 + /**
  63 + * 导入点播视频 返回布尔类型
  64 + *
  65 + * @param shyVideos
  66 + * @return
  67 + */
71 68 public boolean impotVideo(ShyVideos shyVideos) {
72 69 int result = shyVideosMapper.insertSelective(shyVideos);
73 70 if (result == 0) {
... ... @@ -76,16 +73,34 @@ public class VideosServiceImpl {
76 73 return true;
77 74 }
78 75  
  76 + /**
  77 + * 根据主键id查询video对象
  78 + *
  79 + * @param id
  80 + * @return
  81 + */
79 82 public ShyVideos selectByPrimaryKey(Integer id) {
80 83 ShyVideos shyVideos = shyVideosMapper.selectByPrimaryKey(id);
81 84 return shyVideos;
82 85 }
83 86  
  87 + /**
  88 + * 根据对象查询 返回video列表集合
  89 + *
  90 + * @param shyVideos
  91 + * @return
  92 + */
84 93 public List<ShyVideos> findshyVideo(ShyVideos shyVideos) {
85 94 List<ShyVideos> shyVideoslist = shyVideosMapper.selectByRowBounds(shyVideos, new RowBounds(0, 100));
86 95 return shyVideoslist;
87 96 }
88 97  
  98 + /**
  99 + * 根据主键修改点播 返回布尔类型
  100 + *
  101 + * @param shyVideos
  102 + * @return
  103 + */
89 104 public boolean updateshyVideos(ShyVideos shyVideos) {
90 105 int i = shyVideosMapper.updateByPrimaryKeySelective(shyVideos);
91 106 if (i == 0) {
... ... @@ -94,6 +109,17 @@ public class VideosServiceImpl {
94 109 return true;
95 110 }
96 111  
  112 + /**
  113 + * 根据条件修改video 返回int类型
  114 + *
  115 + * @param id
  116 + * @param auditor_id
  117 + * @param updater
  118 + * @param attr_tags
  119 + * @param state
  120 + * @param msg
  121 + * @return
  122 + */
97 123 public int updateVideo(Integer id, String auditor_id, String updater, String attr_tags, Integer state, String msg) {
98 124 ShyVideos shyVideos = shyVideosMapper.selectByPrimaryKey(id);
99 125 shyVideos.setAuditor_id(auditor_id);
... ... @@ -113,7 +139,13 @@ public class VideosServiceImpl {
113 139 return shyVideosMapper.updateByPrimaryKey(shyVideos);
114 140 }
115 141  
116   - public PageInfo<ShyVideos> getListContent(VideosDTO videosDTO) {
  142 + /**
  143 + * video分页、条件查询 返回列表集合
  144 + *
  145 + * @param videosDTO
  146 + * @return
  147 + */
  148 + public PageInfo<ShyVideos> getListVideo(VideosDTO videosDTO) {
117 149 logger.info("接受点播列表为,VideosDTO:{}", JSON.toJSONString(videosDTO));
118 150 Example example = new Example(ShyVideos.class);
119 151 Example.Criteria criteria = example.createCriteria();
... ... @@ -191,7 +223,13 @@ public class VideosServiceImpl {
191 223 return pageInfo;
192 224 }
193 225  
194   - public ShyVideos getDetailsContent(Integer id) {
  226 + /**
  227 + * 获取video详情
  228 + *
  229 + * @param id
  230 + * @return
  231 + */
  232 + public ShyVideos getDetailsVideo(Integer id) {
195 233 ShyVideos shyVideos = shyVideosMapper.selectByPrimaryKey(id);
196 234 if (!shyVideos.getState().equals(CommonConst.AUDIT_INTT)) {
197 235 String updater = CommonUtils.isEmpty(shyVideos.getUpdater()) || "null".equals(shyVideos.getUpdater()) ? "白名单" : shyVideos.getUpdater();
... ... @@ -209,6 +247,15 @@ public class VideosServiceImpl {
209 247 return shyVideos;
210 248 }
211 249  
  250 + /**
  251 + * 认领video
  252 + *
  253 + * @param ids
  254 + * @param num
  255 + * @param userId
  256 + * @param spid
  257 + * @return
  258 + */
212 259 public Integer receive(String ids, Integer num, String userId, Integer spid) {
213 260 Integer n = 0;
214 261 if (CommonUtils.isNotEmpty(ids)) {
... ... @@ -243,6 +290,13 @@ public class VideosServiceImpl {
243 290 return n;
244 291 }
245 292  
  293 + /**
  294 + * 退领video
  295 + *
  296 + * @param ids
  297 + * @param userId
  298 + * @return
  299 + */
246 300 public ResponseBean retReceive(String ids, String userId) {
247 301 String[] cids = ids.split(",");
248 302 for (String cid : cids) {
... ... @@ -442,7 +496,6 @@ public class VideosServiceImpl {
442 496 public void getShenheType(ShyVideos shyVideo) {
443 497 //获取点播免审sp
444 498 List<Integer> sites = sitesService.getBusinessList(CommonConst.BUSINESS_VIDEO);
445   - // List<Integer> shyActivities = shyActivityImpl.selectByExample(CommonConst.AUDIT_TYPE_FREE);
446 499 logger.info("====sites:{}", sites.toString());
447 500 String source = shyVideo.getSource();
448 501 // 根据source 查询审核类型 source有传空的时候 默认给0
... ... @@ -486,22 +539,6 @@ public class VideosServiceImpl {
486 539 }
487 540  
488 541 /**
489   - * 以下参数为人工审核
490   - *
491   - * @param shyVideo
492   - * @return
493   - */
494   - //public boolean manualReview(ShyVideos shyVideo) {
495   - // String[] list = {"41", "42", "43", "44", "45", "46", "47","515","516","517","518"};
496   - // List<String> asList = Arrays.asList(list);
497   - // if (asList.contains(shyVideo.getSource())) {
498   - // //人工审 返回true
499   - // return true;
500   - // }
501   - // return false;
502   - //}
503   -
504   - /**
505 542 * 人工审核拒绝方法
506 543 *
507 544 * @param shyVideoId
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/YiDunServiceImpl.java
... ... @@ -3,14 +3,11 @@ package com.cnlive.shenhe.serviceImpl;
3 3 import com.alibaba.fastjson.JSON;
4 4 import com.cnlive.shenhe.entity.ShyYidun;
5 5 import com.cnlive.shenhe.mapper.ShyYidunMapper;
6   -import com.cnlive.shenhe.utils.CommonUtils;
7 6 import org.slf4j.Logger;
8 7 import org.slf4j.LoggerFactory;
9 8 import org.springframework.beans.factory.annotation.Autowired;
10 9 import org.springframework.stereotype.Service;
11 10  
12   -import java.util.List;
13   -
14 11 /**
15 12 * @Author: xujincheng
16 13 * @Date: 2020/3/27 17:31
... ... @@ -20,12 +17,16 @@ public class YiDunServiceImpl {
20 17  
21 18 private static Logger logger = LoggerFactory.getLogger(YiDunServiceImpl.class);
22 19  
23   -
24 20 @Autowired
25 21 ShyYidunMapper shyYidunMapper;
26 22  
  23 + /**
  24 + * 添加易盾记录
  25 + *
  26 + * @param shyYidun
  27 + * @return
  28 + */
27 29 public boolean addYiDunMsg(ShyYidun shyYidun) {
28   -
29 30 logger.info("URL:{}", JSON.toJSONString(shyYidun.getUrl()));
30 31 int result = shyYidunMapper.insert(shyYidun);
31 32 if (result == 0) {
... ... @@ -34,24 +35,27 @@ public class YiDunServiceImpl {
34 35 return true;
35 36 }
36 37  
37   - public ShyYidun getidunMsgByContentId(ShyYidun shyYidun) {
38   - List<ShyYidun> shyContentList = shyYidunMapper.select(shyYidun);
39   - if (CommonUtils.isNotNull(shyContentList) && shyContentList.size() > 0) {
40   - return shyContentList.get(0);
41   - }
42   - return null;
43   - }
44   -
  38 + /**
  39 + * 根据主键id查询易盾对象
  40 + *
  41 + * @param dataId
  42 + * @return
  43 + */
45 44 public ShyYidun getYiDunMsg(String dataId) {
46 45 return shyYidunMapper.selectByPrimaryKey(dataId);
47 46 }
48 47  
  48 + /**
  49 + * 根据主键修改易盾对象 返回布尔类型
  50 + *
  51 + * @param shyYidun
  52 + * @return
  53 + */
49 54 public boolean updateYiDunMsg(ShyYidun shyYidun) {
50 55 int result = shyYidunMapper.updateByPrimaryKeySelective(shyYidun);
51 56 if (result == 0) {
52 57 return false;
53 58 }
54 59 return true;
55   -
56 60 }
57 61 }
... ...
src/main/resources/templates/html/contentPage.html deleted 100644 → 0
1   -<!DOCTYPE HTML>
2   -<html xmlns:th="http://www.thymeleaf.org">
3   -<head>
4   - <title th:text="${contentTitle}">图文内容</title>
5   - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
6   -</head>
7   -<body>
8   - <div style="height:50px;text-align:center;font-size:26px;color:#3a3a3a;"
9   - th:text=" ${contentTitle}">标题</div>
10   - <div th:utext=" ${contentText}">内容</div>
11   -</body>
12   -</html>
13 0 \ No newline at end of file
src/main/resources/templates/html/game.html deleted 100644 → 0
1   -
2   -
3   -
4   -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5   -<html xmlns="http://www.w3.org/1999/xhtml">
6   -<head>
7   -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8   -<title>游戏专区</title>
9   -<script src="http://y1.cnliveimg.com:8080/icms/game/js/jquery1.42.min.js" type="text/javascript"></script>
10   -<link href="http://y1.cnliveimg.com:8080/icms/game/css/shouye.css" rel="stylesheet" type="text/css" />
11   -<link rel="stylesheet" type="text/css" href="http://y1.cnliveimg.com:8080/icms/game/css/lrtk.css">
12   -<link href="http://www.cnlive.com/css/2012.css" rel="stylesheet" type="text/css" />
13   -<script src="http://y1.cnliveimg.com:8080/icms/game/js/jquery.superslide.2.1.1.js" type="text/javascript"></script>
14   - <script type="text/javascript">
15   -
16   -function logout(){
17   - $.ajax({
18   - dataType:'json',
19   - url:"/handler/user/delcookie.do",
20   - success:function(data){
21   - var flag = data.flag;
22   - if(flag == "1"){
23   - window.location.href="http://www.ikol.cn/yxzq/index1.html";
24   - }
25   -
26   -
27   - }
28   - })
29   -
30   -}
31   -</script>
32   - <script>
33   -(function(){
34   - var bp = document.createElement('script');
35   - var curProtocol = window.location.protocol.split(':')[0];
36   - if (curProtocol === 'https') {
37   - bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
38   - }
39   - else {
40   - bp.src = 'http://push.zhanzhang.baidu.com/push.js';
41   - }
42   - var s = document.getElementsByTagName("script")[0];
43   - s.parentNode.insertBefore(bp, s);
44   -})();
45   -</script>
46   - <script>
47   - var _hmt = _hmt || [];
48   - (function() {
49   - var hm = document.createElement("script");
50   - hm.src = "//hm.baidu.com/hm.js?4627425aed488d04175e70d4539c8e72";
51   - var s = document.getElementsByTagName("script")[0];
52   - s.parentNode.insertBefore(hm, s);
53   - })();
54   - </script>
55   -<style>
56   - .com {
57   - background-image: url(http://y1.cnliveimg.com:8080/icms/game/images_detail/bg.gif);
58   - background-repeat: repeat-x;
59   - background-position: bottom;
60   - }
61   -
62   - .com .content-12 {
63   - font-family: "微软雅黑", "宋体", Helvetica, Arial, Helvetica, sans-serif;
64   - color: #636363;
65   - font-size: 12px;
66   - line-height: 20px;
67   - padding-bottom: 20px;
68   - padding-left: 35px;
69   - padding-right: 20px;
70   - padding-top: 30px;
71   - text-align: left;
72   - }
73   -</style>
74   -</head>
75   -
76   -
77   -
78   -<body bgcolor="#f1f1f1" >
79   -
80   -
81   -
82   -<!-- content -->
83   -<div class="content-1" >
84   - <table width="708" border="0" cellspacing="0" cellpadding="0" align="left">
85   - <!-- 左侧-有奖游戏 -->
86   - <tr>
87   - <td>
88   - <div id="menucontainer1" >
89   -
90   -
91   -
92   -
93   -
94   -
95   -
96   -
97   -<div>
98   -
99   -
100   - <table border="0" cellspacing="0" cellpadding="0" class="content-2">
101   - <tr>
102   - <td class="content-10"><img src="http://y1.cnliveimg.com:8080/icms/game/images/content-1.gif" /> 有奖游戏</td>
103   - </tr>
104   - <tr>
105   - <td ><table align="center">
106   - <tr>
107   - <td class="content-7" >
108   -
109   - <ul class="content-5">
110   -
111   -
112   - <li class="content-6" >
113   - <table >
114   - <tr>
115   - <td ><a href="#" target="_blank"><img src="http://sxzg.vods1.cnlive.com/82/games/base.png" style="width:78px;height:78px;" border="0" /></a> </td>
116   - </tr>
117   - <tr>
118   - <td ><a href="#" target="_blank">泡泡消除 </a> </td>
119   - </tr>
120   - <tr>
121   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">29万次下载</span> </td>
122   - </tr>
123   - <tr>
124   - <td><a href="http://sxzg.vods1.cnlive.com/82/games/base.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
125   - </tr>
126   - </table>
127   - </li>
128   - <li class="content-6" >
129   - <table >
130   - <tr>
131   - <td ><a href="#" target="_blank"><img src="http://sxzg.vods1.cnlive.com/82/games/leiting.png" style="width:78px;height:78px;" border="0" /></a> </td>
132   - </tr>
133   - <tr>
134   - <td ><a href="#" target="_blank">雷霆战机 </a> </td>
135   - </tr>
136   - <tr>
137   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">35万次下载</span> </td>
138   - </tr>
139   - <tr>
140   - <td><a href="http://sxzg.vods1.cnlive.com/82/games/leiting.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
141   - </tr>
142   - </table>
143   - </li>
144   - <li class="content-6" >
145   - <table >
146   - <tr>
147   - <td ><a href="#" target="_blank"><img src="http://sxzg.vods1.cnlive.com/82/games/mofa.png" style="width:78px;height:78px;" border="0" /></a> </td>
148   - </tr>
149   - <tr>
150   - <td ><a href="#" target="_blank">魔法消除 </a> </td>
151   - </tr>
152   - <tr>
153   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">43万次下载</span> </td>
154   - </tr>
155   - <tr>
156   - <td><a href="http://sxzg.vods1.cnlive.com/82/games/mofa.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
157   - </tr>
158   - </table>
159   - </li>
160   - <li class="content-6" >
161   - <table >
162   - <tr>
163   - <td ><a href="#" target="_blank"><img src="http://sxzg.vods1.cnlive.com/82/games/momv.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
164   - </tr>
165   - <tr>
166   - <td ><a href="#" target="_blank">魔女酷跑 </a> </td>
167   - </tr>
168   - <tr>
169   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">29万次下载</span> </td>
170   - </tr>
171   - <tr>
172   - <td><a href="http://sxzg.vods1.cnlive.com/82/games/monv.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
173   - </tr>
174   - </table>
175   - </li>
176   - <li class="content-6" >
177   - <table >
178   - <tr>
179   - <td ><a href="#" target="_blank"><img src="http://sxzg.vods1.cnlive.com/82/games/zhanshen.png" style="width:78px;height:78px;" border="0" /></a> </td>
180   - </tr>
181   - <tr>
182   - <td ><a href="#" target="_blank">战神机甲出击 </a> </td>
183   - </tr>
184   - <tr>
185   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">60万次下载</span> </td>
186   - </tr>
187   - <tr>
188   - <td><a href="http://sxzg.vods1.cnlive.com/82/games/zhanshen.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
189   - </tr>
190   - </table>
191   - </li>
192   - <li class="content-6" >
193   - <table >
194   - <tr>
195   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721754" target="_blank"><img src="http://yweb2.cnliveimg.com/cnlive/public/170303135004827_081.png" style="width:78px;height:78px;" border="0" /></a> </td>
196   - </tr>
197   - <tr>
198   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721754" target="_blank">干掉僵尸 </a> </td>
199   - </tr>
200   - <tr>
201   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">29万次下载</span> </td>
202   - </tr>
203   - <tr>
204   - <td><a href="http://resweb.cnliveimg.com/icms/file/2017/03/03/170303135401564_404.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
205   - </tr>
206   - </table>
207   - </li>
208   -
209   - <li class="content-6" >
210   - <table >
211   - <tr>
212   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721753" target="_blank"><img src="http://yweb2.cnliveimg.com/cnlive/public/170303134123648_480.png" style="width:78px;height:78px;" border="0" /></a> </td>
213   - </tr>
214   - <tr>
215   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721753" target="_blank">麻将消除乐 </a> </td>
216   - </tr>
217   - <tr>
218   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">0万次下载</span> </td>
219   - </tr>
220   - <tr>
221   - <td><a href="http://resweb.cnliveimg.com/icms/file/2017/03/03/170303134700302_062.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
222   - </tr>
223   - </table>
224   - </li>
225   -
226   - <li class="content-6" >
227   - <table >
228   - <tr>
229   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721751" target="_blank"><img src="http://yweb1.cnliveimg.com/cnlive/public/170302152814499_814.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
230   - </tr>
231   - <tr>
232   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721751" target="_blank">乐动达人全民 </a> </td>
233   - </tr>
234   - <tr>
235   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">0万次下载</span> </td>
236   - </tr>
237   - <tr>
238   - <td><a href="http://resweb.cnliveimg.com/icms/file/2017/03/02/170302153332333_970.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
239   - </tr>
240   - </table>
241   - </li>
242   -
243   - <li class="content-6" >
244   - <table >
245   - <tr>
246   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=416602" target="_blank"><img src="http://yweb3.cnliveimg.com/img/cnlive/public/141205153040204_506.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
247   - </tr>
248   - <tr>
249   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=416602" target="_blank">萌宠爱跳跃 </a> </td>
250   - </tr>
251   - <tr>
252   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">35万次下载</span> </td>
253   - </tr>
254   - <tr>
255   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/12/05/141205153056054_241.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
256   - </tr>
257   - </table>
258   - </li>
259   -
260   - <li class="content-6" >
261   - <table >
262   - <tr>
263   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415491" target="_blank"><img src="http://yweb0.cnliveimg.com/img/cnlive/public/141127171157374_570.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
264   - </tr>
265   - <tr>
266   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415491" target="_blank">银河空战 </a> </td>
267   - </tr>
268   - <tr>
269   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">57万次下载</span> </td>
270   - </tr>
271   - <tr>
272   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/11/27/141127171237246_236.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
273   - </tr>
274   - </table>
275   - </li>
276   -
277   - <li class="content-6" >
278   - <table >
279   - <tr>
280   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=282816" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409587479043.png" style="width:78px;height:78px;" border="0" /></a> </td>
281   - </tr>
282   - <tr>
283   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=282816" target="_blank">剑雨 </a> </td>
284   - </tr>
285   - <tr>
286   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">46万次下载</span> </td>
287   - </tr>
288   - <tr>
289   - <td><a href="http://dl.m.duoku.com/game/67000/67745/20140822094925_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
290   - </tr>
291   - </table>
292   - </li>
293   -
294   - <li class="content-6" >
295   - <table >
296   - <tr>
297   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=285517" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1410451235430.png" style="width:78px;height:78px;" border="0" /></a> </td>
298   - </tr>
299   - <tr>
300   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=285517" target="_blank">无极剑圣 </a> </td>
301   - </tr>
302   - <tr>
303   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">33万次下载</span> </td>
304   - </tr>
305   - <tr>
306   - <td><a href="http://dl.m.duoku.com/game/72000/72264/20140911162127_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
307   - </tr>
308   - </table>
309   - </li>
310   -
311   - <li class="content-6" >
312   - <table >
313   - <tr>
314   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=285514" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1410451231418.png" style="width:78px;height:78px;" border="0" /></a> </td>
315   - </tr>
316   - <tr>
317   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=285514" target="_blank">疯狂冒险岛 </a> </td>
318   - </tr>
319   - <tr>
320   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">64万次下载</span> </td>
321   - </tr>
322   - <tr>
323   - <td><a href="http://dl.m.duoku.com/game/72000/72267/20140911174645_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
324   - </tr>
325   - </table>
326   - </li>
327   -
328   - <li class="content-6" >
329   - <table >
330   - <tr>
331   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=281793" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409587435863.png" style="width:78px;height:78px;" border="0" /></a> </td>
332   - </tr>
333   - <tr>
334   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=281793" target="_blank">全民挂机 </a> </td>
335   - </tr>
336   - <tr>
337   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">26万次下载</span> </td>
338   - </tr>
339   - <tr>
340   - <td><a href="http://dl.m.duoku.com/game/67000/67710/20140916143558_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
341   - </tr>
342   - </table>
343   - </li>
344   -
345   - <li class="content-6" >
346   - <table >
347   - <tr>
348   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=281792" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409587443477.png" style="width:78px;height:78px;" border="0" /></a> </td>
349   - </tr>
350   - <tr>
351   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=281792" target="_blank">斗萌西游 </a> </td>
352   - </tr>
353   - <tr>
354   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">86万次下载</span> </td>
355   - </tr>
356   - <tr>
357   - <td><a href="http://dl.m.duoku.com/game/67000/67707/20140815110017_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
358   - </tr>
359   - </table>
360   - </li>
361   -
362   - <li class="content-6" >
363   - <table >
364   - <tr>
365   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=280229" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409587429318.png" style="width:78px;height:78px;" border="0" /></a> </td>
366   - </tr>
367   - <tr>
368   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=280229" target="_blank">冰火战魂 </a> </td>
369   - </tr>
370   - <tr>
371   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">93万次下载</span> </td>
372   - </tr>
373   - <tr>
374   - <td><a href="http://dl.m.duoku.com/game/67000/67642/20140806203113_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
375   - </tr>
376   - </table>
377   - </li>
378   -
379   - <li class="content-6" >
380   - <table >
381   - <tr>
382   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=286224" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1410969629641.png" style="width:78px;height:78px;" border="0" /></a> </td>
383   - </tr>
384   - <tr>
385   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=286224" target="_blank">我是圣斗士 </a> </td>
386   - </tr>
387   - <tr>
388   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">25万次下载</span> </td>
389   - </tr>
390   - <tr>
391   - <td><a href="http://dl.m.duoku.com/game/72000/72374/20140917163719_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
392   - </tr>
393   - </table>
394   - </li>
395   -
396   - <li class="content-6" >
397   - <table >
398   - <tr>
399   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=281793" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409587435863.png" style="width:78px;height:78px;" border="0" /></a> </td>
400   - </tr>
401   - <tr>
402   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=281793" target="_blank">全民挂机 </a> </td>
403   - </tr>
404   - <tr>
405   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">26万次下载</span> </td>
406   - </tr>
407   - <tr>
408   - <td><a href="http://dl.m.duoku.com/game/67000/67710/20140916143558_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
409   - </tr>
410   - </table>
411   - </li>
412   -
413   - <li class="content-6" >
414   - <table >
415   - <tr>
416   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=281361" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409587455727.png" style="width:78px;height:78px;" border="0" /></a> </td>
417   - </tr>
418   - <tr>
419   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=281361" target="_blank">超级经纪人 </a> </td>
420   - </tr>
421   - <tr>
422   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">89万次下载</span> </td>
423   - </tr>
424   - <tr>
425   - <td><a href="http://dl.m.duoku.com/game/67000/67685/20140822183712_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
426   - </tr>
427   - </table>
428   - </li>
429   -
430   - <li class="content-6" >
431   - <table >
432   - <tr>
433   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=413425" target="_blank"><img src="http://y1.cnliveimg.com:8080/img/cnlive/public/141114103331407_937.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
434   - </tr>
435   - <tr>
436   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=413425" target="_blank">布偶大逃亡 </a> </td>
437   - </tr>
438   - <tr>
439   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">76万次下载</span> </td>
440   - </tr>
441   - <tr>
442   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/11/14/141114103530246_480.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
443   - </tr>
444   - </table>
445   - </li>
446   -
447   - <li class="content-6" >
448   - <table >
449   - <tr>
450   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415490" target="_blank"><img src="http://yweb0.cnliveimg.com/img/cnlive/public/141127170821446_983.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
451   - </tr>
452   - <tr>
453   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415490" target="_blank">音符消除 </a> </td>
454   - </tr>
455   - <tr>
456   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">93万次下载</span> </td>
457   - </tr>
458   - <tr>
459   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/11/27/141127170949132_019.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
460   - </tr>
461   - </table>
462   - </li>
463   -
464   - <li class="content-6" >
465   - <table >
466   - <tr>
467   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=281360" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409587446007.png" style="width:78px;height:78px;" border="0" /></a> </td>
468   - </tr>
469   - <tr>
470   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=281360" target="_blank">全民西游 </a> </td>
471   - </tr>
472   - <tr>
473   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">61万次下载</span> </td>
474   - </tr>
475   - <tr>
476   - <td><a href="http://dl.m.duoku.com/game/67000/67681/20140813163121_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
477   - </tr>
478   - </table>
479   - </li>
480   -
481   - <li class="content-6" >
482   - <table >
483   - <tr>
484   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=286229" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1410969637749.png" style="width:78px;height:78px;" border="0" /></a> </td>
485   - </tr>
486   - <tr>
487   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=286229" target="_blank">塔王之王 </a> </td>
488   - </tr>
489   - <tr>
490   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">91万次下载</span> </td>
491   - </tr>
492   - <tr>
493   - <td><a href="http://dl.m.duoku.com/game/72000/72380/20140917183912_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
494   - </tr>
495   - </table>
496   - </li>
497   -
498   - <li class="content-6" >
499   - <table >
500   - <tr>
501   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=285289" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1410364847556.png" style="width:78px;height:78px;" border="0" /></a> </td>
502   - </tr>
503   - <tr>
504   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=285289" target="_blank">齐天大圣3D </a> </td>
505   - </tr>
506   - <tr>
507   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">54万次下载</span> </td>
508   - </tr>
509   - <tr>
510   - <td><a href="http://dl.m.duoku.com/game/72000/72207/20140910180005_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
511   - </tr>
512   - </table>
513   - </li>
514   -
515   - <li class="content-6" >
516   - <table >
517   - <tr>
518   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=284287" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409673595124.png" style="width:78px;height:78px;" border="0" /></a> </td>
519   - </tr>
520   - <tr>
521   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=284287" target="_blank">新森林舞会 </a> </td>
522   - </tr>
523   - <tr>
524   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">83万次下载</span> </td>
525   - </tr>
526   - <tr>
527   - <td><a href="http://dl.m.duoku.com/game/72000/72134/20140902162203_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
528   - </tr>
529   - </table>
530   - </li>
531   -
532   - <li class="content-6" >
533   - <table >
534   - <tr>
535   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415479" target="_blank"><img src="http://yweb3.cnliveimg.com/img/cnlive/public/141127170346292_122.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
536   - </tr>
537   - <tr>
538   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415479" target="_blank">兔子围堵战 </a> </td>
539   - </tr>
540   - <tr>
541   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">70万次下载</span> </td>
542   - </tr>
543   - <tr>
544   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/11/27/141127170510204_433.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
545   - </tr>
546   - </table>
547   - </li>
548   -
549   - </ul>
550   - </td>
551   - </tr>
552   - </table></td>
553   - </tr>
554   -
555   - </table>
556   -
557   -</div>
558   -
559   -
560   -
561   -
562   -</div>
563   - </td>
564   - </tr>
565   - <!-- 左侧--安卓精选游戏 -->
566   - <tr>
567   - <td>
568   - <div id="menucontainer10" >
569   -
570   -
571   -
572   -
573   -
574   -
575   -
576   -<div >
577   - <table border="0" cellspacing="0" cellpadding="0" class="content-2">
578   - <tr>
579   - <td class="content-3"><img src="http://y1.cnliveimg.com:8080/icms/game/images/content-1.gif"/> 安卓精选游戏</td>
580   - </tr>
581   -
582   - <tr>
583   - <td ><table align="center">
584   - <tr>
585   - <td class="content-7" >
586   -
587   - <ul class="content-5">
588   -
589   -
590   - <li class="content-6" >
591   - <table >
592   - <tr>
593   - <td ><a href="#" target="_blank"><img src="http://sxzg.vods1.cnlive.com/82/games/base.png" style="width:78px;height:78px;" border="0" /></a> </td>
594   - </tr>
595   - <tr>
596   - <td ><a href="#" target="_blank">泡泡消除 </a> </td>
597   - </tr>
598   - <tr>
599   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">29万次下载</span> </td>
600   - </tr>
601   - <tr>
602   - <td><a href="http://sxzg.vods1.cnlive.com/82/games/base.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
603   - </tr>
604   - </table>
605   - </li>
606   - <li class="content-6" >
607   - <table >
608   - <tr>
609   - <td ><a href="#" target="_blank"><img src="http://sxzg.vods1.cnlive.com/82/games/leiting.png" style="width:78px;height:78px;" border="0" /></a> </td>
610   - </tr>
611   - <tr>
612   - <td ><a href="#" target="_blank">雷霆战机 </a> </td>
613   - </tr>
614   - <tr>
615   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">35万次下载</span> </td>
616   - </tr>
617   - <tr>
618   - <td><a href="http://sxzg.vods1.cnlive.com/82/games/leiting.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
619   - </tr>
620   - </table>
621   - </li>
622   - <li class="content-6" >
623   - <table >
624   - <tr>
625   - <td ><a href="#" target="_blank"><img src="http://sxzg.vods1.cnlive.com/82/games/mofa.png" style="width:78px;height:78px;" border="0" /></a> </td>
626   - </tr>
627   - <tr>
628   - <td ><a href="#" target="_blank">魔法消除 </a> </td>
629   - </tr>
630   - <tr>
631   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">43万次下载</span> </td>
632   - </tr>
633   - <tr>
634   - <td><a href="http://sxzg.vods1.cnlive.com/82/games/mofa.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
635   - </tr>
636   - </table>
637   - </li>
638   - <li class="content-6" >
639   - <table >
640   - <tr>
641   - <td ><a href="#" target="_blank"><img src="http://sxzg.vods1.cnlive.com/82/games/momv.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
642   - </tr>
643   - <tr>
644   - <td ><a href="#" target="_blank">魔女酷跑 </a> </td>
645   - </tr>
646   - <tr>
647   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">29万次下载</span> </td>
648   - </tr>
649   - <tr>
650   - <td><a href="http://sxzg.vods1.cnlive.com/82/games/monv.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
651   - </tr>
652   - </table>
653   - </li>
654   - <li class="content-6" >
655   - <table >
656   - <tr>
657   - <td ><a href="#" target="_blank"><img src="http://sxzg.vods1.cnlive.com/82/games/zhanshen.png" style="width:78px;height:78px;" border="0" /></a> </td>
658   - </tr>
659   - <tr>
660   - <td ><a href="#" target="_blank">战神机甲出击 </a> </td>
661   - </tr>
662   - <tr>
663   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">60万次下载</span> </td>
664   - </tr>
665   - <tr>
666   - <td><a href="http://sxzg.vods1.cnlive.com/82/games/zhanshen.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
667   - </tr>
668   - </table>
669   - </li>
670   - <li class="content-6" >
671   - <table >
672   - <tr>
673   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721754" target="_blank"><img src="http://yweb2.cnliveimg.com/cnlive/public/170303135004827_081.png" style="width:78px;height:78px;" border="0" /></a> </td>
674   - </tr>
675   - <tr>
676   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721754" target="_blank">干掉僵尸 </a> </td>
677   - </tr>
678   - <tr>
679   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">29万次下载</span> </td>
680   - </tr>
681   - <tr>
682   - <td><a href="http://resweb.cnliveimg.com/icms/file/2017/03/03/170303135401564_404.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
683   - </tr>
684   - </table>
685   - </li>
686   -
687   - <li class="content-6" >
688   - <table >
689   - <tr>
690   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721753" target="_blank"><img src="http://yweb2.cnliveimg.com/cnlive/public/170303134123648_480.png" style="width:78px;height:78px;" border="0" /></a> </td>
691   - </tr>
692   - <tr>
693   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721753" target="_blank">麻将消除乐 </a> </td>
694   - </tr>
695   - <tr>
696   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">0万次下载</span> </td>
697   - </tr>
698   - <tr>
699   - <td><a href="http://resweb.cnliveimg.com/icms/file/2017/03/03/170303134700302_062.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
700   - </tr>
701   - </table>
702   - </li>
703   -
704   - <li class="content-6" >
705   - <table >
706   - <tr>
707   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721751" target="_blank"><img src="http://yweb1.cnliveimg.com/cnlive/public/170302152814499_814.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
708   - </tr>
709   - <tr>
710   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=721751" target="_blank">乐动达人全民 </a> </td>
711   - </tr>
712   - <tr>
713   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">0万次下载</span> </td>
714   - </tr>
715   - <tr>
716   - <td><a href="http://resweb.cnliveimg.com/icms/file/2017/03/02/170302153332333_970.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
717   - </tr>
718   - </table>
719   - </li>
720   -
721   - <li class="content-6" >
722   - <table >
723   - <tr>
724   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=417186" target="_blank"><img src="http://yweb2.cnliveimg.com/img/cnlive/public/141210094644721_697.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
725   - </tr>
726   - <tr>
727   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=417186" target="_blank">奇缘连萌 </a> </td>
728   - </tr>
729   - <tr>
730   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">77万次下载</span> </td>
731   - </tr>
732   - <tr>
733   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/12/10/141210094704593_508.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
734   - </tr>
735   - </table>
736   - </li>
737   -
738   - <li class="content-6" >
739   - <table >
740   - <tr>
741   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=413288" target="_blank"><img src="http://y1.cnliveimg.com:8080/img/cnlive/public/141113165335498_246.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
742   - </tr>
743   - <tr>
744   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=413288" target="_blank">宇宙大碰撞 </a> </td>
745   - </tr>
746   - <tr>
747   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">50万次下载</span> </td>
748   - </tr>
749   - <tr>
750   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/11/13/141113171347721_931.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
751   - </tr>
752   - </table>
753   - </li>
754   -
755   - <li class="content-6" >
756   - <table >
757   - <tr>
758   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=286111" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1410883235015.png" style="width:78px;height:78px;" border="0" /></a> </td>
759   - </tr>
760   - <tr>
761   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=286111" target="_blank">嘿嘿三国 </a> </td>
762   - </tr>
763   - <tr>
764   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">37万次下载</span> </td>
765   - </tr>
766   - <tr>
767   - <td><a href="http://dl.m.duoku.com/game/72000/72361/20140916174319_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
768   - </tr>
769   - </table>
770   - </li>
771   -
772   - <li class="content-6" >
773   - <table >
774   - <tr>
775   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=286229" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1410969637749.png" style="width:78px;height:78px;" border="0" /></a> </td>
776   - </tr>
777   - <tr>
778   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=286229" target="_blank">塔王之王 </a> </td>
779   - </tr>
780   - <tr>
781   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">91万次下载</span> </td>
782   - </tr>
783   - <tr>
784   - <td><a href="http://dl.m.duoku.com/game/72000/72380/20140917183912_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
785   - </tr>
786   - </table>
787   - </li>
788   -
789   - <li class="content-6" >
790   - <table >
791   - <tr>
792   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415477" target="_blank"><img src="http://yweb3.cnliveimg.com/img/cnlive/public/141127165215289_416.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
793   - </tr>
794   - <tr>
795   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415477" target="_blank">魔法传奇 </a> </td>
796   - </tr>
797   - <tr>
798   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">68万次下载</span> </td>
799   - </tr>
800   - <tr>
801   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/11/27/141127165418184_896.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
802   - </tr>
803   - </table>
804   - </li>
805   -
806   - <li class="content-6" >
807   - <table >
808   - <tr>
809   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=416602" target="_blank"><img src="http://yweb3.cnliveimg.com/img/cnlive/public/141205153040204_506.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
810   - </tr>
811   - <tr>
812   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=416602" target="_blank">萌宠爱跳跃 </a> </td>
813   - </tr>
814   - <tr>
815   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">35万次下载</span> </td>
816   - </tr>
817   - <tr>
818   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/12/05/141205153056054_241.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
819   - </tr>
820   - </table>
821   - </li>
822   -
823   - <li class="content-6" >
824   - <table >
825   - <tr>
826   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=284287" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409673595124.png" style="width:78px;height:78px;" border="0" /></a> </td>
827   - </tr>
828   - <tr>
829   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=284287" target="_blank">新森林舞会 </a> </td>
830   - </tr>
831   - <tr>
832   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">83万次下载</span> </td>
833   - </tr>
834   - <tr>
835   - <td><a href="http://dl.m.duoku.com/game/72000/72134/20140902162203_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
836   - </tr>
837   - </table>
838   - </li>
839   -
840   - <li class="content-6" >
841   - <table >
842   - <tr>
843   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=282816" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409587479043.png" style="width:78px;height:78px;" border="0" /></a> </td>
844   - </tr>
845   - <tr>
846   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=282816" target="_blank">剑雨 </a> </td>
847   - </tr>
848   - <tr>
849   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">46万次下载</span> </td>
850   - </tr>
851   - <tr>
852   - <td><a href="http://dl.m.duoku.com/game/67000/67745/20140822094925_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
853   - </tr>
854   - </table>
855   - </li>
856   -
857   - <li class="content-6" >
858   - <table >
859   - <tr>
860   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=283843" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409587489149.png" style="width:78px;height:78px;" border="0" /></a> </td>
861   - </tr>
862   - <tr>
863   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=283843" target="_blank">众神之光 </a> </td>
864   - </tr>
865   - <tr>
866   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">36万次下载</span> </td>
867   - </tr>
868   - <tr>
869   - <td><a href="http://dl.m.duoku.com/game/72000/72121/20140829204025_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
870   - </tr>
871   - </table>
872   - </li>
873   -
874   - <li class="content-6" >
875   - <table >
876   - <tr>
877   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=284495" target="_blank"><img src="http://y1.cnliveimg.com:8080/picture/cnlive/public/1409846440370.png" style="width:78px;height:78px;" border="0" /></a> </td>
878   - </tr>
879   - <tr>
880   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=284495" target="_blank">群雄割据 </a> </td>
881   - </tr>
882   - <tr>
883   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">71万次下载</span> </td>
884   - </tr>
885   - <tr>
886   - <td><a href="http://dl.m.duoku.com/game/72000/72163/20140904172024_DuoKu.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
887   - </tr>
888   - </table>
889   - </li>
890   -
891   - <li class="content-6" >
892   - <table >
893   - <tr>
894   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415479" target="_blank"><img src="http://yweb3.cnliveimg.com/img/cnlive/public/141127170346292_122.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
895   - </tr>
896   - <tr>
897   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415479" target="_blank">兔子围堵战 </a> </td>
898   - </tr>
899   - <tr>
900   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">70万次下载</span> </td>
901   - </tr>
902   - <tr>
903   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/11/27/141127170510204_433.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
904   - </tr>
905   - </table>
906   - </li>
907   -
908   - <li class="content-6" >
909   - <table >
910   - <tr>
911   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415490" target="_blank"><img src="http://yweb0.cnliveimg.com/img/cnlive/public/141127170821446_983.jpg" style="width:78px;height:78px;" border="0" /></a> </td>
912   - </tr>
913   - <tr>
914   - <td ><a href="http://www.ikol.cn/yxzq/view1.html?id=415490" target="_blank">音符消除 </a> </td>
915   - </tr>
916   - <tr>
917   - <td><span style="color:#d0d0d0;font-family:'微软雅黑','宋体';font-size:12px;">93万次下载</span> </td>
918   - </tr>
919   - <tr>
920   - <td><a href="http://media4.cnlive.com:8080/icms/file/2014/11/27/141127170949132_019.apk" ><img src="http://y1.cnliveimg.com:8080/icms/game/images/down-1.gif" border="0" /></a> </td>
921   - </tr>
922   - </table>
923   - </li>
924   -
925   - </ul>
926   - </td>
927   - </tr>
928   - </table></td>
929   - </tr>
930   - </table>
931   -
932   -</div>
933   -
934   -
935   -
936   -
937   -</div>
938   - </td>
939   - </tr>
940   - </tbody>
941   - </table>
942   - </td>
943   - </tr>
944   -
945   - </table>
946   - </td>
947   - </tr>
948   -
949   - </table>
950   - <!-- 右侧-- -->
951   -
952   -<script>
953   - function tabChange(id) {
954   - if (id=='tab_1') {
955   - $("#tab_2").css("display","none");
956   - $("#tab_1").css("display","block");
957   - } else {
958   - $("#tab_1").css("display","none");
959   - $("#tab_2").css("display","block");
960   - }
961   - }
962   -
963   -</script>
964   -
965   -<table border="0" cellspacing="0" cellpadding="0" class="content-10a" align="left" >
966   - <tr>
967   -
968   - <td>
969   -
970   - <table class="content-25">
971   - <tr>
972   - <td class="content-29">
973   - <ul>
974   - <li>
975   - <a href="javascript:tabChange('tab_1')">排行</a>
976   - </li>
977   - <li>
978   - <a href="javascript:tabChange('tab_2')">下载排行</a>
979   - </li>
980   - </ul>
981   - </td>
982   - </tr>
983   - <tr>
984   - <td class="content-32" >
985   - <div id="tab_1">
986   - <div id="menucontainer2" >
987   -
988   -
989   -
990   -
991   -
992   -
993   -
994   -
995   -<div>
996   -<table cellspacing="15" >
997   -<tbody>
998   -
999   - <tr>
1000   - <td class="content-31"><p>1</p></td>
1001   - <td><h2 class="h2"><a href="http://sxzg.vods1.cnlive.com/82/games/base.apk" target="_blank">泡泡消除</a></h2></td>
1002   - </tr>
1003   -
1004   -
1005   - <tr>
1006   - <td class="content-31"><p>2</p></td>
1007   - <td><h2 class="h2"><a href="http://sxzg.vods1.cnlive.com/82/games/leiting.apk" target="_blank">雷霆战机</a></h2></td>
1008   - </tr>
1009   -
1010   -
1011   - <tr>
1012   - <td class="content-31"><p>3</p></td>
1013   - <td><h2 class="h2"><a href="http://sxzg.vods1.cnlive.com/82/games/mofa.apk" target="_blank">魔法消除</a></h2></td>
1014   - </tr>
1015   -
1016   -
1017   - <tr>
1018   - <td class="content-31-1"><p>4</p></td>
1019   - <td><h2 class="h2"><a href="http://sxzg.vods1.cnlive.com/82/games/monv.apk" target="_blank">魔女酷跑</a></h2></td>
1020   - </tr>
1021   -
1022   -
1023   - <tr>
1024   - <td class="content-31-1"><p>5</p></td>
1025   - <td><h2 class="h2"><a href="http://sxzg.vods1.cnlive.com/82/games/zhanshen.apk" target="_blank">战神机甲出击</a></h2></td>
1026   - </tr>
1027   -
1028   -
1029   - <tr>
1030   - <td class="content-31-1"><p>6</p></td>
1031   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=407801" target="_blank">小呀小飞机</a></h2></td>
1032   - </tr>
1033   -
1034   -
1035   - <tr>
1036   - <td class="content-31-1"><p>7</p></td>
1037   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=413288" target="_blank">宇宙大碰撞</a></h2></td>
1038   - </tr>
1039   -
1040   -
1041   - <tr>
1042   - <td class="content-31-1"><p>8</p></td>
1043   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=415490" target="_blank">音符消除</a></h2></td>
1044   - </tr>
1045   -
1046   -
1047   -</tbody>
1048   -</table>
1049   -</div>
1050   -
1051   -
1052   -
1053   -
1054   -</div>
1055   - </div>
1056   - <div id="tab_2" style="display:none;">
1057   - <div id="menucontainer2_1" >
1058   -
1059   -
1060   -
1061   -
1062   -
1063   -
1064   -
1065   -
1066   -<div>
1067   -<table cellspacing="15" >
1068   -<tbody>
1069   -
1070   - <tr>
1071   - <td class="content-31"><p>1</p></td>
1072   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=417186" target="_blank">奇缘连萌</a></h2></td>
1073   - </tr>
1074   -
1075   - <tr>
1076   - <td class="content-31"><p>2</p></td>
1077   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=416602" target="_blank">萌宠爱跳跃</a></h2></td>
1078   - </tr>
1079   -
1080   - <tr>
1081   - <td class="content-31"><p>3</p></td>
1082   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=415893" target="_blank">豪门德州扑克</a></h2></td>
1083   - </tr>
1084   -
1085   - <tr>
1086   - <td class="content-31-1"><p>4</p></td>
1087   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=413425" target="_blank">布偶大逃亡</a></h2></td>
1088   - </tr>
1089   -
1090   - <tr>
1091   - <td class="content-31-1"><p>5</p></td>
1092   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=415490" target="_blank">音符消除</a></h2></td>
1093   - </tr>
1094   -
1095   - <tr>
1096   - <td class="content-31-1"><p>6</p></td>
1097   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=415479" target="_blank">兔子围堵战</a></h2></td>
1098   - </tr>
1099   -
1100   - <tr>
1101   - <td class="content-31-1"><p>7</p></td>
1102   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=415491" target="_blank">银河空战</a></h2></td>
1103   - </tr>
1104   -
1105   - <tr>
1106   - <td class="content-31-1"><p>8</p></td>
1107   - <td><h2 class="h2"><a href="http://www.ikol.cn/yxzq/view1.html?id=415894" target="_blank">萌喵斗地主</a></h2></td>
1108   - </tr>
1109   -
1110   -</tbody>
1111   -</table>
1112   -</div>
1113   -
1114   -
1115   -
1116   -
1117   -</div>
1118   - </div>
1119   - </td>
1120   - </tr>
1121   -</table>
1122   - </td>
1123   - </tr>
1124   - <tr>
1125   - <td>
1126   - <div>
1127   - <div id="menucontainer3" >
1128   -
1129   -
1130   -
1131   -
1132   -
1133   -
1134   -
1135   -
1136   -<table cellspacing="0" cellpadding="0" border="0" class="content-25">
1137   - <tbody><tr>
1138   - <td class="content-10" colspan="2"><img src="http://y1.cnliveimg.com:8080/icms/game/images/content-1.gif"> 活动专区</td>
1139   - </tr>
1140   - <tr>
1141   - <td>
1142   - <table>
1143   - <tbody>
1144   -
1145   - <tr>
1146   - <td class="content-26"><a href="http://www.ikol.cn/yxzq/view1.html?id=415491" target="_blank"><img width="60" height="54" src="http://yweb0.cnliveimg.com/img/cnlive/public/141127171157374_570.jpg"></a></td>
1147   - <td><h1 class="h1"><a target="_blank" href="http://www.ikol.cn/yxzq/view1.html?id=415491">银河空战</a></h1>
1148   - <p class="p">《银河空战》是一款射击类的游戏,精致的游戏画面</p></td>
1149   - </tr>
1150   -
1151   - </tbody>
1152   - </table></td>
1153   - </tr>
1154   - <tr>
1155   - <td align="center"><img src="http://y1.cnliveimg.com:8080/icms/game/images/huodong-2.gif"></td>
1156   - </tr>
1157   - <tr>
1158   - <td><table>
1159   - <tbody><tr>
1160   - <td class="content-28">
1161   - <ul>
1162   -
1163   - <li><a target="_blank" href="http://www.ikol.cn/yxzq/view1.html?id=415490">音符消除</a> </li>
1164   -
1165   - <li><a target="_blank" href="http://www.ikol.cn/yxzq/view1.html?id=419347">佰果连萌</a> </li>
1166   -
1167   - </ul></td>
1168   - </tr>
1169   - </tbody></table></td>
1170   - </tr>
1171   - </tbody></table>
1172   -
1173   -
1174   -
1175   -
1176   -
1177   -</div>
1178   - </div>
1179   - </td>
1180   - </tr>
1181   - </table>
1182   -</div>
1183   - <script type="text/javascript" src="http://yweb3.cnliveimg.com/js/page_stadig.min.js"></script>
1184   -</body>
1185   -</html>
1186   -
1187   -
1188   -
1189   -
1190   -