Authored by 李奇

供应商id添加

... ... @@ -46,9 +46,12 @@ module.exports = (req, res, next) => {
if (currentShop) {
let channel = apiMap.split('.')[0];
let baseParams;
let supplierId = _.first(currentShop.shopsBrands).supplierId;
if (channel === 'erp') {
supplierId
baseParams = {
supplierId,
pid: req.session.LOGIN_UID,
shopId: currentShop.shopsId,
platform_id: 2
... ...