Showing
2 changed files
with
4 additions
and
1 deletions
| @@ -44,6 +44,8 @@ export struct MorningEveningPaperComponent { | @@ -44,6 +44,8 @@ export struct MorningEveningPaperComponent { | ||
| 44 | Logger.info(TAG,"listBean title = "+listBean.topicInfo.title) | 44 | Logger.info(TAG,"listBean title = "+listBean.topicInfo.title) |
| 45 | Logger.info(TAG,"listBean topicDate = "+listBean.topicInfo.topicDate) | 45 | Logger.info(TAG,"listBean topicDate = "+listBean.topicInfo.topicDate) |
| 46 | this.pageInfoBean = listBean; | 46 | this.pageInfoBean = listBean; |
| 47 | + let compInfoBean = await MorningEveningViewModel.getMorningEveningCompInfo("28927") | ||
| 48 | + Logger.info(TAG,"compInfoBean compStyle = "+compInfoBean.compList[0].compStyle) | ||
| 47 | } catch (exception) { | 49 | } catch (exception) { |
| 48 | 50 | ||
| 49 | } | 51 | } |
| @@ -91,7 +91,8 @@ export class PageRepository { | @@ -91,7 +91,8 @@ export class PageRepository { | ||
| 91 | * */ | 91 | * */ |
| 92 | static getMorningEveningCompInfoUrl(pageId: string) { | 92 | static getMorningEveningCompInfoUrl(pageId: string) { |
| 93 | let url = HttpUrlUtils.getHost() + HttpUrlUtils.MORNING_EVENING_COMP_INFO_PATH; | 93 | let url = HttpUrlUtils.getHost() + HttpUrlUtils.MORNING_EVENING_COMP_INFO_PATH; |
| 94 | - url = url + "?pageId=" + pageId; | 94 | + url = url + "?loadStrategy=first_load&pageNum=1&refreshTime=1710853254592&pageId=" |
| 95 | + +pageId+"&channelStrategy=2&groupId=40621&topicId=10000009445&pageSize=20"; | ||
| 95 | Logger.info(TAG,"getMorningEveningCompInfoUrl url = "+url) | 96 | Logger.info(TAG,"getMorningEveningCompInfoUrl url = "+url) |
| 96 | return url; | 97 | return url; |
| 97 | } | 98 | } |
-
Please register or login to post a comment