...
|
...
|
@@ -188,6 +188,7 @@ const addressModify = (req, res, next) => { |
|
|
*/
|
|
|
const changeAddress = (req, res, next) => {
|
|
|
let uid = req.user.uid;
|
|
|
let udid = req.cookies._yasvd || '';
|
|
|
|
|
|
if (!uid) {
|
|
|
return res.json({
|
...
|
...
|
@@ -202,7 +203,8 @@ const changeAddress = (req, res, next) => { |
|
|
username: req.body.username,
|
|
|
areaCode: req.body.area_code,
|
|
|
address: req.body.address,
|
|
|
mobile: req.body.mobile
|
|
|
mobile: req.body.mobile,
|
|
|
udid: udid
|
|
|
}).then(result => {
|
|
|
res.json(result);
|
|
|
}).catch(next);
|
...
|
...
|
|