|
@@ -29,13 +29,6 @@ public class AdRecommendController {
|
|
|
public Map<String, Object> adRecommendTop1Basic(@RequestBody RankRecommendRequestParam request) {
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
|
|
|
- List<AdPlatformCreativeDTO> adIdList = request.getAdIdList();
|
|
|
- if (adIdList.size() > 5) {
|
|
|
- List<AdPlatformCreativeDTO> newAdIdList = new ArrayList<>(5);
|
|
|
- newAdIdList.add(adIdList.get(0));
|
|
|
- request.setAdIdList(newAdIdList);
|
|
|
- }
|
|
|
-
|
|
|
if (CollectionUtils.isEmpty(request.getAdIdList())) {
|
|
|
map.put("code", "1");
|
|
|
map.put("msg", "score error");
|