| | |
| | | |
| | | for (HomeType ht : list) { |
| | | for (int i = 0; i < ht.getHomeVideoList().size(); i++) { |
| | | //改变图片 |
| | | if (JuheVideoUtil.isNeedDelete(ht.getHomeVideoList().get(i).getVideo(), detailSystem.getId())) { |
| | | ht.getHomeVideoList().remove(i); |
| | | i--; |
| | |
| | | JSONObject attentionInfo = new JSONObject(); |
| | | attentionInfo.put("Name", info.getName()); |
| | | attentionInfo.put("Picture", info.getPicture()); |
| | | if (StringUtil.isNullOrEmpty(info.getUpdatetime())) |
| | | attentionInfo.put("UpdateInfo", "更新:" + TimeUtil.getCommentTime(info.getCreatetime())); |
| | | else |
| | | attentionInfo.put("UpdateInfo", "更新:" + TimeUtil.getCommentTime(Long.parseLong(info.getUpdatetime()))); |
| | | attentionInfo.put("IsAttention", isAttention); |
| | | obj.put("Attention", attentionInfo); |