|
@@ -32,7 +32,7 @@ public class AdRecommendController {
|
|
|
List<AdPlatformCreativeDTO> adIdList = request.getAdIdList();
|
|
|
if (adIdList.size() > 5) {
|
|
|
List<AdPlatformCreativeDTO> newAdIdList = new ArrayList<>(5);
|
|
|
- newAdIdList.addAll(adIdList.subList(0, 6));
|
|
|
+ newAdIdList.add(adIdList.get(0));
|
|
|
request.setAdIdList(newAdIdList);
|
|
|
}
|
|
|
|