Authored by 孙凯

去除 多余逻辑review by 红魔

... ... @@ -462,20 +462,6 @@ export function cancelFavorite() {
});
})
.catch(error => {
ReactNative.NativeModules.YH_CommonHelper.login()
.then(uid => {
return new BrandStoreService().cancelFavorite(shopId, shopId, uid)
.then(json => {
console.log('取消收藏成功');
dispatch(cancelFavoriteSuccess());
})
.catch(error => {
console.log(error);
dispatch(cancelFavoriteFailure(error));
});
})
.catch(error => {
});
});
};
}
... ...