Showing
1 changed file
with
1 additions
and
1 deletions
@@ -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 | }; |
-
Please register or login to post a comment