liyubing

feat(广告): 冠名广告、视频广告、长通栏广告 和 顶部长通栏广告 大图卡 投放逻辑

@@ -67,7 +67,7 @@ export class ProcessUtils { @@ -67,7 +67,7 @@ export class ProcessUtils {
67 linkUrl: advert.linkUrl, 67 linkUrl: advert.linkUrl,
68 pageId: advert.pageId, 68 pageId: advert.pageId,
69 objectId: advert.objectId, 69 objectId: advert.objectId,
70 - objectType: advert.objectType, 70 + objectType: advert.objectType.toString(),
71 relId: advert.relId, 71 relId: advert.relId,
72 bottomNavId: advert.bottomNavId 72 bottomNavId: advert.bottomNavId
73 } as ContentDTO; 73 } as ContentDTO;
@@ -124,6 +124,7 @@ export class ProcessUtils { @@ -124,6 +124,7 @@ export class ProcessUtils {
124 //动态详情页(动态图文) 124 //动态详情页(动态图文)
125 case ContentConstants.TYPE_FOURTEEN: 125 case ContentConstants.TYPE_FOURTEEN:
126 ProcessUtils.gotoDynamicDetailPage(content); 126 ProcessUtils.gotoDynamicDetailPage(content);
  127 + break;
127 //动态详情页(动态视频) 128 //动态详情页(动态视频)
128 case ContentConstants.TYPE_FIFTEEN: 129 case ContentConstants.TYPE_FIFTEEN:
129 ProcessUtils.gotoDynamicDetailPage(content); 130 ProcessUtils.gotoDynamicDetailPage(content);
@@ -227,7 +227,7 @@ export class PageHelper { @@ -227,7 +227,7 @@ export class PageHelper {
227 let changeContentDTO = (matInfo: CompAdvMatInfoBean) => { 227 let changeContentDTO = (matInfo: CompAdvMatInfoBean) => {
228 let advContentBean: ContentDTO = {} as ContentDTO; 228 let advContentBean: ContentDTO = {} as ContentDTO;
229 advContentBean.newsTitle = matInfo.advTitle 229 advContentBean.newsTitle = matInfo.advTitle
230 - advContentBean.objectType = matInfo.advType == "0" ? matInfo.advType : "4" 230 + advContentBean.objectType = matInfo.advType == "0" ? matInfo.advType.toString() : "4"
231 advContentBean.coverUrl = matInfo.matImageUrl[0] 231 advContentBean.coverUrl = matInfo.matImageUrl[0]
232 advContentBean.linkUrl = matInfo.linkUrl 232 advContentBean.linkUrl = matInfo.linkUrl
233 advContentBean.openType = matInfo.linkType 233 advContentBean.openType = matInfo.linkType