|
@@ -15,7 +15,7 @@ import com.goafanti.common.controller.BaseController;
|
|
|
import com.goafanti.engagedFieldGlossory.service.EngagedFieldGlossoryService;
|
|
import com.goafanti.engagedFieldGlossory.service.EngagedFieldGlossoryService;
|
|
|
import com.goafanti.lecture.bo.LectureListBo;
|
|
import com.goafanti.lecture.bo.LectureListBo;
|
|
|
import com.goafanti.lecture.service.LectureService;
|
|
import com.goafanti.lecture.service.LectureService;
|
|
|
-import com.goafanti.star.bo.BigShotStarListBo;
|
|
|
|
|
|
|
+import com.goafanti.star.bo.HotStarListBo;
|
|
|
import com.goafanti.star.service.StarService;
|
|
import com.goafanti.star.service.StarService;
|
|
|
import com.goafanti.user.service.UserInterestService;
|
|
import com.goafanti.user.service.UserInterestService;
|
|
|
|
|
|
|
@@ -39,9 +39,9 @@ public class PortalStarController extends BaseController {
|
|
|
List<LectureListBo> lectureDynamicList = lectureService
|
|
List<LectureListBo> lectureDynamicList = lectureService
|
|
|
.listDynamic(AFTConstants.LECTURE_DYNAMIC_LIST_CACHE_KEY);
|
|
.listDynamic(AFTConstants.LECTURE_DYNAMIC_LIST_CACHE_KEY);
|
|
|
mv.addObject("lectureDynamicList", lectureDynamicList);
|
|
mv.addObject("lectureDynamicList", lectureDynamicList);
|
|
|
- List<BigShotStarListBo> starList = starService.listBigShotStar(AFTConstants.BIG_SHOT_STAR_CACHE_KEY);
|
|
|
|
|
|
|
+ List<HotStarListBo> starList = starService.listStarList();
|
|
|
if (null != starList && starList.size() > 0) {
|
|
if (null != starList && starList.size() > 0) {
|
|
|
- for (BigShotStarListBo bo : starList) {
|
|
|
|
|
|
|
+ for (HotStarListBo bo : starList) {
|
|
|
if (StringUtils.isNotBlank(bo.getUid())) {
|
|
if (StringUtils.isNotBlank(bo.getUid())) {
|
|
|
bo.setFansNum(userInterestService.countByToUid(bo.getUid()));
|
|
bo.setFansNum(userInterestService.countByToUid(bo.getUid()));
|
|
|
}
|
|
}
|