...
|
...
|
@@ -21,6 +21,7 @@ const shop = { |
|
|
let domain = req.params.domain;
|
|
|
let uid = req.user.uid;
|
|
|
let shopId = req.query.shopId;
|
|
|
let channel = req.query._Channel || req.cookies._Channel || 'men';
|
|
|
let data = {
|
|
|
module: 'product',
|
|
|
page: 'shop',
|
...
|
...
|
@@ -30,7 +31,7 @@ const shop = { |
|
|
ShopData.getShopHeadData(domain, shopId, uid).then(result => {
|
|
|
|
|
|
if (result.shopId) {
|
|
|
let nav = [DataHelper.getChannelNav()];
|
|
|
let nav = [DataHelper.getChannelNav(channel)];
|
|
|
|
|
|
nav.push({
|
|
|
name: result.name
|
...
|
...
|
@@ -104,7 +105,7 @@ const shop = { |
|
|
|
|
|
q.order = q.order || 's_n_desc';
|
|
|
q.page = parseInt(q.page || 1, 10);
|
|
|
q.yh_channel = channel;
|
|
|
// q.yh_channel = channel;
|
|
|
|
|
|
ShopData.getShopHeadData(domain, shopId, uid).then(result => {
|
|
|
data.banner = result;
|
...
|
...
|
|