|
@@ -5,6 +5,7 @@ const targetingData = [
|
|
|
{ key: 'msgTagIds', name: '智能标签' },
|
|
|
{ key: 'msgExcludeTagIds', name: '排除智能标签' },
|
|
|
{ key: 'platformKey', name: '书城' },
|
|
|
+ { key: 'sysExternalExcludeTagNames', name: '排除标签' },
|
|
|
{ key: 'lastBookNameList', name: '最近阅读书籍' },
|
|
|
{ key: 'lastChapterNameList', name: '最近阅读章节' },
|
|
|
{ key: 'platformUserId', name: '书城用户ID' },
|
|
@@ -36,6 +37,7 @@ interface ContentProps {
|
|
|
msgTagIds?: { [x: string]: string }[], // 智能标签
|
|
|
msgExcludeTagIds?: { [x: string]: string }[], // 排除智能标签
|
|
|
platformKey?: string, // 书城
|
|
|
+ sysExternalExcludeTagNames?: string[], // 书城
|
|
|
lastBookNameList?: string[],
|
|
|
lastChapterNameList?: string[],
|
|
|
platformUserId?: string,// 书城用户ID
|
|
@@ -193,6 +195,7 @@ const FilterUserText = ({ data, configName, configType = 'USER_GROUP', bookCityL
|
|
|
return (configName ? configName + '\n' : '') +
|
|
|
(content?.msgTagIds ? `智能标签:${content?.msgTagIds?.['business'] ? `业务:${businessPlanData.find(i => i.value === content?.msgTagIds['business'])?.label}` : ''}--${content?.msgTagIds?.['bookCity'] ? `书城:${bookPlatForm.find(i => i.id === content?.msgTagIds['bookCity'])?.platformName}` : ''}--${content?.msgTagIds?.['product'] ? `产品:${bookList.find(i => i.id === content?.msgTagIds['product'])?.bookName}\n` : ''}` : '') +
|
|
|
(content?.msgExcludeTagIds ? `排除智能标签:${content?.msgExcludeTagIds?.['business'] ? `业务:${businessPlanData.find(i => i.value === content?.msgExcludeTagIds['business'])?.label}` : ''}--${content?.msgExcludeTagIds?.['bookCity'] ? `书城:${bookPlatForm.find(i => i.id === content?.msgExcludeTagIds['bookCity'])?.platformName}` : ''}--${content?.msgExcludeTagIds?.['product'] ? `产品:${bookList.find(i => i.id === content?.msgExcludeTagIds['product'])?.bookName}\n` : ''}` : '') +
|
|
|
+ (content?.sysExternalExcludeTagNames ? `排除标签:${content?.sysExternalExcludeTagNames.join('、') || '--'}\n` : '') +
|
|
|
(content?.platformKey ? `书城:${bookCityList?.find(item => item.value === content?.platformKey)?.label || '--'}\n` : '') +
|
|
|
(content?.lastBookNameList ? `最近阅读书籍:${content?.lastBookNameList?.join('、') || '--'}\n` : '') +
|
|
|
(content?.lastChapterNameList ? `最近阅读章节:${content?.lastChapterNameList?.join('、') || '--'}\n` : '') +
|