Parcourir la source

添加穿山甲类型效果

syh il y a 5 ans
Parent
commit
4ff1d10bf3

+ 1 - 3
jeecg-boot-module-system/src/main/java/org/jeecg/modules/ctop/service/impl/CreateInternalServiceImpl.java

@@ -389,8 +389,6 @@ public class CreateInternalServiceImpl implements ICreateInternalService {
                             // 落地页链接
                             planParam.put("external_url", urlInfo.getUrl());
                         }
-                        // 投放范围
-                        planParam.put("delivery_range", 1);
                         //广告类别  5 内广
                         planParam.put("classify", 5);
                         planParam.put("projectid", "");
@@ -507,7 +505,7 @@ public class CreateInternalServiceImpl implements ICreateInternalService {
                             if (deliveryRange == 2) {
                                 //按媒体指定位置
                                 JSONArray inventoryType = new JSONArray();
-                                inventoryType.add("INVENTORY_FEED");
+                                inventoryType.add("INVENTORY_UNION_SLOT");
                                 data.put("inventory_type", inventoryType);
                             } else {
                                 //穿山甲