...
|
...
|
@@ -130,7 +130,7 @@ exports.saveAddress = (req, res, next) => { |
|
|
id: decodeURIComponent(req.body.id),
|
|
|
mobile: req.body.mobile,
|
|
|
zip_code: req.body.zip_code,
|
|
|
udid: req.cookies._yasvd || ''
|
|
|
udid: req.cookies._yasvd || 'yoho'
|
|
|
}).then(result => {
|
|
|
res.json(result);
|
|
|
}).catch(next);
|
...
|
...
|
@@ -223,7 +223,7 @@ exports.chooseAddress = (req, res, next) => { |
|
|
let uid = req.user.uid;
|
|
|
let orderCode = req.query.orderCode;
|
|
|
let addressId = decodeURIComponent(req.query.addressId);
|
|
|
let udid = req.cookies._yasvd || '';
|
|
|
let udid = req.cookies._yasvd || 'yoho';
|
|
|
|
|
|
if (!addressId || !orderCode) {
|
|
|
return res.json({
|
...
|
...
|
|