|
@@ -489,16 +489,16 @@ public class AiBytedanceAdvertiserStrategyController {
|
|
@ApiOperation(value="获取定向包", notes="获取定向包")
|
|
@ApiOperation(value="获取定向包", notes="获取定向包")
|
|
@GetMapping(value = "/getAdAudiencePackage")
|
|
@GetMapping(value = "/getAdAudiencePackage")
|
|
public Result getAdAudiencePackage(@RequestParam(value = "accountId",required = false) String accountId,
|
|
public Result getAdAudiencePackage(@RequestParam(value = "accountId",required = false) String accountId,
|
|
- @RequestParam(value = "landingType",required = false) String landingType,
|
|
|
|
|
|
+ //@RequestParam(value = "landingType",required = false) String landingType,
|
|
@RequestParam(value = "deliveryRange",required = false) String deliveryRange) {
|
|
@RequestParam(value = "deliveryRange",required = false) String deliveryRange) {
|
|
try {
|
|
try {
|
|
if (Check.isNull(accountId)){
|
|
if (Check.isNull(accountId)){
|
|
return Result.errorMsg("请选择账户。");
|
|
return Result.errorMsg("请选择账户。");
|
|
}
|
|
}
|
|
// 默认 定向包
|
|
// 默认 定向包
|
|
- Result resultDefault = aiBytedanceAdvertiserStrategyService.getAdAudiencePackage(accountId,landingType,"DEFAULT");
|
|
|
|
|
|
+ Result resultDefault = aiBytedanceAdvertiserStrategyService.getAdAudiencePackage(accountId,null,"DEFAULT");
|
|
//穿山甲定向包
|
|
//穿山甲定向包
|
|
- Result resultUnion = aiBytedanceAdvertiserStrategyService.getAdAudiencePackage(accountId,landingType,"UNION");
|
|
|
|
|
|
+ Result resultUnion = aiBytedanceAdvertiserStrategyService.getAdAudiencePackage(accountId,null,"UNION");
|
|
List listDefault = (List) resultDefault.getResult();
|
|
List listDefault = (List) resultDefault.getResult();
|
|
List listUnion = (List) resultUnion.getResult();
|
|
List listUnion = (List) resultUnion.getResult();
|
|
|
|
|