...
|
...
|
@@ -55,7 +55,7 @@ const getCoupons = (req, res, next) => { |
|
|
*/
|
|
|
const setShoppingCookie = (req, res) => {
|
|
|
|
|
|
let uid = req.user.uid || true;
|
|
|
let uid = req.user.uid;
|
|
|
let shoppingKey = helper.getShoppingKeyByCookie(req);
|
|
|
|
|
|
return service.getCartCount(uid, shoppingKey).then(ret => {
|
...
|
...
|
|