Authored by 王水玲

Merge branch 'hotfix/single' of git.yoho.cn:fe/yohobuywap-node into hotfix/single

... ... @@ -10,12 +10,17 @@ const logger = global.yoho.logger;
const service = global.yoho.ServiceAPI;
const shopList = (uid, tabName, channelId) => {
return api.get('', {
let params = {
method: 'app.shops.promote',
uid: uid,
tab_name: tabName,
channel_id: channelId
}, {
tab_name: tabName
};
if (channelId) {
params.channel_id = channelId;
}
return api.get('', params, {
code: 200
}).then((result) => {
if (result && result.code === 200) {
... ... @@ -40,10 +45,14 @@ const shopList = (uid, tabName, channelId) => {
};
const shopNav = (channelId) => {
return api.get('', {
method: 'app.shops.promoteTabNameList',
channel_id: channelId
}, {
let params = {
method: 'app.shops.promoteTabNameList'
};
if (channelId) {
params.channel_id = channelId;
}
return api.get('', params, {
cache: true,
code: 200
}).then((result) => {
... ...
... ... @@ -124,7 +124,7 @@
.content {
width: 750px;
height: 330px;
height: 329px;
}
}
}
... ...