Authored by 毕凯

Merge branch 'hotfix/shopfavstatus' into 'release/5.6'

店铺收藏状态



See merge request !514
... ... @@ -182,6 +182,13 @@ const shopFav = (req, res) => {
let uid = req.user.uid || req.query.uid || req.cookies.appUid || _getUidFromUserAgent(req);
let shopId = req.query.shopId;
if (!uid || !shopId) {
return res.json({
code: 200,
collect: false
});
}
listModel.getBrandFavStatus({
uid: uid,
id: shopId,
... ...