|
@@ -413,8 +413,11 @@ public class AiBytedanceAdvertiserStrategyController {
|
|
|
|
|
|
@ApiOperation(value="获取人群包列表信息", notes="获取人群包列表信息")
|
|
|
@GetMapping(value = "/getDMPCustomAudience")
|
|
|
- public Result getDMPCustomAudience(@RequestParam("accountId") String accountId) {
|
|
|
+ public Result getDMPCustomAudience(@RequestParam(value = "accountId",required = false) String accountId) {
|
|
|
try {
|
|
|
+ if (Check.isNull(accountId)){
|
|
|
+ return Result.errorMsg("请选择账户。");
|
|
|
+ }
|
|
|
return aiBytedanceAdvertiserStrategyService.getDMPCustomAudience(accountId);
|
|
|
}catch (Exception e){
|
|
|
log.error("获取人群包列表异常",e);
|