2 Комити ec14477915 ... 0b058fd21b

Аутор SHA1 Порука Датум
  wjx 0b058fd21b Merge branch 'develop' of http://git.zanxiangnet.com/wjx/ad-manage пре 1 недеља
  wjx edd84bbee2 fix пре 1 недеља
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      src/pages/launchSystemV3/components/PageModal/indexOfficial.tsx

+ 5 - 0
src/pages/launchSystemV3/components/PageModal/indexOfficial.tsx

@@ -150,6 +150,11 @@ const PageOfficialModal: React.FC<Props> = (props) => {
                 if (!params.isSqDownPage) {
                     delete params?.ownerUid
                 }
+                const wechatChannelList: { wechatOfficialAccountId: string }[] = data?.find(i => i.accountId === item.accountId)?.wechatChannelList || []
+                const marketingCarrierId = wechatChannelList?.[0]?.wechatOfficialAccountId
+                if (marketingCarrierId) {
+                    params.marketingCarrierId = marketingCarrierId
+                }
                 delete params.isSqDownPage
                 return getAdqLandingPageOfficialListApi(params)
             })