|
|
@@ -80,13 +80,14 @@ public class GroupController {
|
|
|
List<GroupsRelationView> after = relationViewList.subList(relationViewList.size() - 1, 15);
|
|
|
all.addAll(after);
|
|
|
}
|
|
|
- //MIDJOURNEY 标准会员月付10个 暗改15个 展示10个
|
|
|
- else if (groupsView.getSkuId().equals(Constant.MIDJOURNEY_SKU_IDS.get(1)) || groupsView.getSkuId().equals(Constant.MIDJOURNEY_SKU_IDS.get(2))) {
|
|
|
- all = relationViewList.subList(0, 5);
|
|
|
- List<GroupsRelationView> after = relationViewList.subList(relationViewList.size() - 5, 15);
|
|
|
- all.addAll(after);
|
|
|
- }else {
|
|
|
- all =relationViewList;
|
|
|
+ //MIDJOURNEY 标准会员月付 Pro会员月付;Pro会员年付;标准会员年付;10个 暗改15个 展示10个
|
|
|
+ else if (groupsView.getSkuId().equals(Constant.MIDJOURNEY_SKU_IDS.get(1)) || groupsView.getSkuId().equals(Constant.MIDJOURNEY_SKU_IDS.get(2))
|
|
|
+ || groupsView.getSkuId().equals(Constant.MIDJOURNEY_SKU_IDS.get(3)) || groupsView.getSkuId().equals(Constant.MIDJOURNEY_SKU_IDS.get(4))) {
|
|
|
+ all = relationViewList.subList(0, 5);
|
|
|
+ List<GroupsRelationView> after = relationViewList.subList(relationViewList.size() - 5, 15);
|
|
|
+ all.addAll(after);
|
|
|
+ } else {
|
|
|
+ all = relationViewList;
|
|
|
}
|
|
|
groupsView.setRelations(all);
|
|
|
} else {
|