Authored by ccbikai

修改判断条件

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