...
|
...
|
@@ -238,16 +238,16 @@ function getSaleOthersData(params, channel) { |
|
|
|
|
|
if (params.saleType === '2') { // 会员专区
|
|
|
promiseObject = [
|
|
|
headerModel.requestHeaderData(channel),
|
|
|
headerModel.requestHeaderData(channel, true),
|
|
|
this.saleApi.getSaleGoodsList(params),
|
|
|
this.saleApi.getSaleBannerList(contentCode[channel].vip),
|
|
|
this.saleApi.getSaleGoodsList({saleType: '2', limit: '1', channel: channel}),
|
|
|
this.saleApi.getUserProfile(params.uid)
|
|
|
];
|
|
|
baseUrl += '/vip';
|
|
|
} else { // 罪行降价
|
|
|
} else { // 最新降价
|
|
|
promiseObject = [
|
|
|
headerModel.requestHeaderData(channel),
|
|
|
headerModel.requestHeaderData(channel, true),
|
|
|
this.saleApi.getSaleGoodsList(params),
|
|
|
this.saleApi.getSaleBannerList(contentCode[channel].newSale),
|
|
|
this.saleApi.getSaleGoodsList({limit: '1', channel: channel})
|
...
|
...
|
@@ -473,7 +473,7 @@ function getSalebreakingYardsData(params, channel) { |
|
|
const baseUrl = `/${_.toLower(channel)}-sale/breakingYards`;
|
|
|
|
|
|
return api.all([
|
|
|
headerModel.requestHeaderData(channel),
|
|
|
headerModel.requestHeaderData(channel, true),
|
|
|
this.saleApi.getSaleBannerList(contentCode[channel].breakCode),
|
|
|
this.saleApi.getSalebreakingYardsSortList(params)
|
|
|
]).then(result => {
|
...
|
...
|
|