| | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletRequest; |
| | | |
| | | import org.omg.PortableServer.REQUEST_PROCESSING_POLICY_ID; |
| | | import org.springframework.stereotype.Controller; |
| | | |
| | | import com.yeshi.buwan.controller.parser.UserParser; |
| | |
| | | import com.yeshi.buwan.domain.Comment2; |
| | | import com.yeshi.buwan.domain.CommentReply; |
| | | import com.yeshi.buwan.domain.DetailSystem; |
| | | import com.yeshi.buwan.domain.LoginUser; |
| | | import com.yeshi.buwan.domain.user.LoginUser; |
| | | import com.yeshi.buwan.domain.VideoInfo; |
| | | import com.yeshi.buwan.service.imp.AttentionService; |
| | | import com.yeshi.buwan.service.imp.CommentService; |
| | |
| | | int pageIndex = Integer.parseInt(page); |
| | | |
| | | java.util.List<Comment2> list1 = commentService.getComment2List(videoId, thirdType, pageIndex); |
| | | List<Comment2> list = new ArrayList<Comment2>(); |
| | | List<Comment2> list = new ArrayList<>(); |
| | | if (list1 != null) |
| | | for (Comment2 cm : list1) |
| | | list.add(cm); |