|
@@ -120,7 +120,6 @@ exports.sendToFavorite = (req, res, next) => { |
|
@@ -120,7 +120,6 @@ exports.sendToFavorite = (req, res, next) => { |
120
|
}
|
120
|
}
|
121
|
|
121
|
|
122
|
cartModel.transferToFavorite(params).then(result => {
|
122
|
cartModel.transferToFavorite(params).then(result => {
|
123
|
- console.log('transferToFavorite-result:', result);
|
|
|
124
|
res.json(_.merge(cartModel.filterCartData(result, uid), {code: result.code, message: result.message}));
|
123
|
res.json(_.merge(cartModel.filterCartData(result, uid), {code: result.code, message: result.message}));
|
125
|
}).catch(next);
|
124
|
}).catch(next);
|
126
|
};
|
125
|
};
|