Authored by 陈轩

save

... ... @@ -186,3 +186,19 @@ exports.selectAddress = (req, res, next) => {
});
};
/**
* 发票信息
*/
exports.invoiceInfo = (req, res, next) => {
let uid = req.user.uid;
let orderInfo = req.cookies.orderInfo;
try {
orderInfo = JSON.parse(orderInfo);
} catch (e) {
orderInfo = {};
}
};
... ...
... ... @@ -31,6 +31,7 @@ router.get('/index/new/selectCoupon', authMW, order.selectCoupon); // 选择优æ
router.get('/index/new/couponList', order.couponList); // [ajax]获取优惠券列表
router.post('/index/new/couponSearch', order.couponSearch); // [ajax]购物车输入优惠券码使用优惠券
router.get('/index/new/selectAddress', authMW, order.selectAddress); // 选择地址
router.get('/index/new/invoiceInfo', authMW, order.invoiceInfo); // 发票信息
module.exports = router;
... ...
'use stict';
'use strict';
// doc: http://git.yoho.cn/yoho-documents/api-interfaces/blob/master/个人中心/地址管理.md';
... ...