...
|
...
|
@@ -214,7 +214,7 @@ const index = (req, res, next) => { |
|
|
|
|
|
let goodsList = yield req.ctx(DetailModel).productInfoBySkns(processContents.allgoods);
|
|
|
|
|
|
guang.detail.content = guangProcess.pushGoodsInfo(processContents.finalDetail, goodsList);
|
|
|
guang.detail.content = guangProcess.pushGoodsInfo(processContents.finalDetail, goodsList, isApp);
|
|
|
|
|
|
// 相关品牌
|
|
|
if (detail.getBrand && detail.getBrand.length) {
|
...
|
...
|
@@ -330,7 +330,7 @@ const mini = (req, res, next) => { |
|
|
gender);
|
|
|
let goodsList = yield req.ctx(DetailModel).productInfoBySkns(processContents.allgoods);
|
|
|
|
|
|
guang.detail.content = guangProcess.pushGoodsInfo(processContents.finalDetail, goodsList);
|
|
|
guang.detail.content = guangProcess.pushGoodsInfo(processContents.finalDetail, goodsList, isApp);
|
|
|
|
|
|
// 相关品牌
|
|
|
if (detail.getBrand && detail.getBrand.length) {
|
...
|
...
|
@@ -397,7 +397,7 @@ const foryoho = (req, res, next) => { |
|
|
|
|
|
let goodsList = yield req.ctx(DetailModel).productInfoBySkns(processContents.allgoods);
|
|
|
|
|
|
data.content = guangProcess.pushGoodsInfo(processContents.finalDetail, goodsList);
|
|
|
data.content = guangProcess.pushGoodsInfo(processContents.finalDetail, goodsList, isApp);
|
|
|
|
|
|
// 内容中的相关推荐和悬浮商品移到data层级
|
|
|
let relatedRecoIndex = data.content.findIndex((cont) => {
|
...
|
...
|
|