Authored by 陈峰

erp增加shopId

... ... @@ -73,7 +73,7 @@ body {
flex-flow: column;
.layout-breadcrumb {
padding: 10px 15px 0;
padding: 10px 15px;
}
.layout-content {
... ...
... ... @@ -69,8 +69,8 @@ const productService = {
_.each(sizeInfo.sizeRelationsList, rela => {
let references = _.split(rela.referenceName, '/');
rela.referenceNameA = references[0];
rela.referenceNameB = references[1];
rela.referenceNameA = references[0] || '';
rela.referenceNameB = references[1] || '';
});
return result.data.data.list[0];
}
... ...
... ... @@ -51,6 +51,7 @@ module.exports = (req, res, next) => {
if (channel === 'erp') {
baseParams = {
pid: req.session.LOGIN_UID,
shopId: currentShop.shopsId,
platform_id: 2
};
} else if (channel === 'platform') {
... ...