Authored by 沈志敏

Merge branch 'release/5.1' of git.yoho.cn:fe/yohobuywap-node into release/5.1

@@ -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,