Merge branch 'release/5.1' of git.yoho.cn:fe/yohobuywap-node into release/5.1
Showing
1 changed file
with
3 additions
and
0 deletions
@@ -180,6 +180,9 @@ const _shopCouponsList = (shopId, uid) => { | @@ -180,6 +180,9 @@ const _shopCouponsList = (shopId, uid) => { | ||
180 | * @private | 180 | * @private |
181 | */ | 181 | */ |
182 | const getBrandFavStatus = (params) => { | 182 | const getBrandFavStatus = (params) => { |
183 | + if (params.uid === 'undefined') { | ||
184 | + params.uid = 0; | ||
185 | + } | ||
183 | return api.get('', { | 186 | return api.get('', { |
184 | method: 'app.favorite.isFavorite', | 187 | method: 'app.favorite.isFavorite', |
185 | uid: params.uid || 0, | 188 | uid: params.uid || 0, |
-
Please register or login to post a comment