|
@@ -764,8 +764,16 @@ public class AiBytedanceAdvertiserStrategyServiceImpl extends ServiceImpl<AiByte
|
|
|
params.put("quick_app_url",strategy.getAdQuickAppUrl());
|
|
|
}
|
|
|
|
|
|
- if(!Check.isNull(strategy.getAdAppType())){
|
|
|
- params.put("app_type",strategy.getAdAppType());
|
|
|
+// if(!Check.isNull(strategy.getAdAppType())){
|
|
|
+// params.put("app_type",strategy.getAdAppType());
|
|
|
+// }
|
|
|
+
|
|
|
+
|
|
|
+ //别问我为什么要写死 因为前端都是大爷 佛了
|
|
|
+ if(strategy.getAdDownloadType().equals("DOWNLOAD_URL")){
|
|
|
+ params.put("app_type","APP_ANDROID");
|
|
|
+ String[] platform = new String[]{"ANDROID"};
|
|
|
+ params.put("platform",platform);
|
|
|
}
|
|
|
if(!Check.isNull(strategy.getAdDownloadMode())){
|
|
|
params.put("download_mode",strategy.getAdDownloadMode());
|
|
@@ -987,12 +995,12 @@ public class AiBytedanceAdvertiserStrategyServiceImpl extends ServiceImpl<AiByte
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(!Check.isNull(strategy.getAdPlatform())){
|
|
|
- String[] platform = strategy.getAdPlatform().split(",");
|
|
|
- if(platform.length>0){
|
|
|
- params.put("platform",platform);
|
|
|
- }
|
|
|
- }
|
|
|
+// if(!Check.isNull(strategy.getAdPlatform())){
|
|
|
+// String[] platform = strategy.getAdPlatform().split(",");
|
|
|
+// if(platform.length>0){
|
|
|
+// params.put("platform",platform);
|
|
|
+// }
|
|
|
+// }
|
|
|
|
|
|
if(!Check.isNull(strategy.getAdAndroidOsv())){
|
|
|
params.put("android_osv",strategy.getAdAndroidOsv());
|