...
|
...
|
@@ -77,7 +77,7 @@ exports.orderEnsure = (req, res, next) => { |
|
|
|
|
|
let allPromise = [
|
|
|
orderPromise,
|
|
|
userModel.queryProfile(uid),
|
|
|
req.ctx(userModel).queryProfile(uid),
|
|
|
addressModel.addressData(uid)
|
|
|
];
|
|
|
|
...
|
...
|
@@ -424,9 +424,9 @@ exports.invoiceInfo = (req, res, next) => { |
|
|
}
|
|
|
|
|
|
co(function* () {
|
|
|
let userData = yield userModel.queryProfile(uid);
|
|
|
let userData = yield req.ctx(userModel).queryProfile(uid);
|
|
|
let mobile = _.get(userData, 'data.mobile', '');
|
|
|
let addresslist = yield userModel.addressTextData(uid);
|
|
|
let addresslist = yield req.ctx(userModel).addressTextData(uid);
|
|
|
let returnData = orderModel.processInvoiceData(orderInfo, mobile, addresslist);
|
|
|
let headerData = headerModel.setNav({
|
|
|
invoiceNotice: '发票须知',
|
...
|
...
|
|