Authored by ccbikai

修改判断条件

... ... @@ -158,7 +158,7 @@ exports.search = (req, res) => {
layout: false,
params: params,
goods: result[0],
saleVip: (req.query.saleType === '2' && !uid) || vipLevel === '1'
saleVip: (req.query.saleType === '2' && (!uid || vipLevel === '1'))
});
});
};
... ...