...
|
...
|
@@ -79,7 +79,7 @@ const shop = { |
|
|
if (!brandId) {
|
|
|
return res.json({code: 404});
|
|
|
}
|
|
|
return listModel.getBrandIntro(brandId, uid).then(result => {
|
|
|
return shopModel.getBrandIntro(brandId, uid).then(result => {
|
|
|
res.json(result);
|
|
|
}).catch(next);
|
|
|
},
|
...
|
...
|
@@ -124,7 +124,7 @@ const shop = { |
|
|
co(function* () {
|
|
|
let [banner, brandInfo, goodsListApi] = yield Promise.all([
|
|
|
listModel.getBrandBanner(brandId),
|
|
|
listModel.getBrandIntro(brandId, uid),
|
|
|
shopModel.getBrandIntro(brandId, uid),
|
|
|
searchModel.getBrandGoods(searchParam)
|
|
|
]);
|
|
|
|
...
|
...
|
|