chenqs

fix |> 修复人民号文章详情,缺少相关推荐稿件问题

@@ -294,7 +294,7 @@ export struct ImageAndTextPageComponent { @@ -294,7 +294,7 @@ export struct ImageAndTextPageComponent {
294 if (this.detailContentEmpty) { 294 if (this.detailContentEmpty) {
295 this.emptyType = 18 295 this.emptyType = 18
296 } 296 }
297 - console.log(TAG, "dl", JSON.stringify(detailBeans)) 297 + console.log(TAG, "dl1111111111", JSON.stringify(detailBeans[0]))
298 if (detailBeans && detailBeans.length > 0) { 298 if (detailBeans && detailBeans.length > 0) {
299 this.contentDetailData = detailBeans[0]; 299 this.contentDetailData = detailBeans[0];
300 let dateTime = 300 let dateTime =
@@ -340,7 +340,7 @@ export struct ImageAndTextPageComponent { @@ -340,7 +340,7 @@ export struct ImageAndTextPageComponent {
340 imei: HttpUtils.getImei(), 340 imei: HttpUtils.getImei(),
341 userId: HttpUtils.getUserId(), 341 userId: HttpUtils.getUserId(),
342 contentId: String(this.contentDetailData?.newsId), 342 contentId: String(this.contentDetailData?.newsId),
343 - recType: Number(this.contentDetailData?.reLInfo?.relType), 343 + recType: 1,
344 contentType: this.contentDetailData?.newsType, 344 contentType: this.contentDetailData?.newsType,
345 relId: this.contentDetailData?.reLInfo?.relId, 345 relId: this.contentDetailData?.reLInfo?.relId,
346 channelId: String(this.contentDetailData?.reLInfo?.channelId) 346 channelId: String(this.contentDetailData?.reLInfo?.channelId)
@@ -2,7 +2,7 @@ import { CompDTO, ContentDTO } from 'wdBean'; @@ -2,7 +2,7 @@ import { CompDTO, ContentDTO } from 'wdBean';
2 import { CommonConstants } from 'wdConstant'; 2 import { CommonConstants } from 'wdConstant';
3 import { CardParser } from '../CardParser'; 3 import { CardParser } from '../CardParser';
4 4
5 -const RECOMMEND_LIST_TITLE = '相关推荐' 5 +const RECOMMEND_LIST_TITLE = '推荐推荐'
6 6
7 @Component 7 @Component
8 export struct RecommendList { 8 export struct RecommendList {