1、新增一个所有好友的流量池
2、旧版场景获客数据迁移 3、场景获客功能兼容旧版数据
This commit is contained in:
@@ -1591,11 +1591,11 @@ class WorkbenchGroupPushController extends Controller
|
||||
}
|
||||
} else {
|
||||
// 其他情况,正常处理并验证
|
||||
$contentGroupsExisting = $originalConfig ? $this->decodeJsonArray($originalConfig->contentLibraries ?? []) : [];
|
||||
$contentGroupsParam = $this->getParamValue($param, 'contentGroups', null);
|
||||
$contentGroups = $contentGroupsParam !== null
|
||||
? $this->extractIdList($contentGroupsParam, '内容库参数格式错误')
|
||||
: $contentGroupsExisting;
|
||||
$contentGroupsExisting = $originalConfig ? $this->decodeJsonArray($originalConfig->contentLibraries ?? []) : [];
|
||||
$contentGroupsParam = $this->getParamValue($param, 'contentGroups', null);
|
||||
$contentGroups = $contentGroupsParam !== null
|
||||
? $this->extractIdList($contentGroupsParam, '内容库参数格式错误')
|
||||
: $contentGroupsExisting;
|
||||
// 其他情况,内容库为必填
|
||||
if (empty($contentGroups)) {
|
||||
throw new \Exception('请至少选择一个内容库');
|
||||
|
||||
Reference in New Issue
Block a user