| | |
| | |
|
| | | import javax.annotation.Resource;
|
| | |
|
| | | import com.yeshi.fanli.entity.SystemEnum;
|
| | | import org.springframework.stereotype.Component;
|
| | | import org.yeshi.utils.HttpUtil;
|
| | |
|
| | |
| | | CommonContentTypeEnum[] types = CommonContentTypeEnum.values();
|
| | | for (int p = 1; p < 3; p++) {
|
| | | for (CommonContentTypeEnum type : types) {
|
| | | List<CommonContentNav> navList = commonTemplateContentService.getNavList(type);
|
| | | List<CommonContentNav> navList = commonTemplateContentService.getNavList(type,SystemEnum.blks);
|
| | | if (navList != null && navList.size() > 0)
|
| | | for (CommonContentNav nav : navList) {
|
| | | commonTemplateContentService.getContentList(type, nav.getCid(), p, 50);
|
| | | commonTemplateContentService.getContentList(type, nav.getCid(), p, 50, SystemEnum.blks);
|
| | | }
|
| | | else {
|
| | | commonTemplateContentService.getContentList(type, null, p, 50);
|
| | | commonTemplateContentService.getContentList(type, null, p, 50, SystemEnum.blks);
|
| | | }
|
| | | }
|
| | | }
|