...
|
...
|
@@ -25,7 +25,7 @@ const getSortByConditionAsync = (condition) => { |
|
|
const adsUrl = '/shops/api/v1/ads/getList';
|
|
|
|
|
|
// 判断用户是否收藏品牌
|
|
|
// const isFavoriteBrandUrl = '/shops/service/v1/favorite/';
|
|
|
const isFavoriteBrandUrl = '/shops/service/v1/favorite/getUidBrandFav';
|
|
|
|
|
|
// 根据品牌查询相关文章
|
|
|
const relateArticleUrl = 'guang/service/v2/article/getArticleByBrand';
|
...
|
...
|
@@ -436,8 +436,10 @@ const getBrandData = (params) => { |
|
|
* @return
|
|
|
*/
|
|
|
const isFavoriteBrand = (uid, brandId) => {
|
|
|
|
|
|
return serviceApi.get('', {uid: uid, brandId: brandId});
|
|
|
return serviceApi.get(isFavoriteBrandUrl, {
|
|
|
uid: uid,
|
|
|
brandId: brandId
|
|
|
});
|
|
|
};
|
|
|
|
|
|
/**
|
...
|
...
|
|