Authored by htoooth

add

... ... @@ -16,7 +16,7 @@ const addFavAsync = _.partial(api.addFavAsync, _, _, 'brand');
const cancelFavAsync = _.partial(api.cancelFavAsync, _, _, 'brand');
const getShopFavNumAsync = (sid) => {
return serviceApi.post('favorite/queryFavoriteCountByShopIds', {
return serviceApi.post('favorite/', {
favIds: sid,
type: 'shop',
method: 'app.favorite.queryFavoriteCountByShopIds'
... ... @@ -24,7 +24,7 @@ const getShopFavNumAsync = (sid) => {
};
const getBrandIdNumAsync = (bid) => {
return serviceApi.post('favorite/queryFavoriteCountByBrandId', {
return serviceApi.post('favorite/', {
brandId: bid,
type: 'brand',
method: 'app.favorite.queryFavoriteCountByBrandId'
... ...