Authored by ccbikai

店铺收藏问题修改

... ... @@ -55,7 +55,7 @@ module.exports = {
/* 收藏店铺 */
collectShop: (req, res, next) => {
if (!req.user.uid) {
res.json({
return res.json({
code: 403,
message: '未登录'
});
... ...
... ... @@ -118,6 +118,6 @@ module.exports = {
method: 'app.favorite.add'
});
}
return api.get('', finalParams, {code: 200, cache: false});
return api.get('', finalParams);
}
};
... ...