Commit 6cbc98aa by zhangxw

首页配置专场联调

1 parent 8b4f9042
...@@ -101,6 +101,11 @@ Page({ ...@@ -101,6 +101,11 @@ Page({
// 获取积分商城配置 // 获取积分商城配置
getHomeData() { getHomeData() {
homeApi.getHomeConfigData({miniType: 1}).then(res => { homeApi.getHomeConfigData({miniType: 1}).then(res => {
res?.specialEvents?.forEach(item => {
item?.specialEventGoodsList?.forEach(val => {
val.id = val.goodsId
})
})
this.setData({ this.setData({
bannerUrl: res?.mallBannerList[0]?.bannerUrl, bannerUrl: res?.mallBannerList[0]?.bannerUrl,
specialSaleArr: res.specialEvents specialSaleArr: res.specialEvents
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!