...
|
...
|
@@ -53,7 +53,7 @@ const refund = (req, res, next) => { |
|
|
Promise.all([returns.getRefundGoodsData(code, uid), mcHandler.getMeThumb()]).then(result => {
|
|
|
let refundGoods = result[0];
|
|
|
let thumb = result[1];
|
|
|
|
|
|
|
|
|
res.display('index', {
|
|
|
page: 'refund',
|
|
|
content: Object.assign({
|
...
|
...
|
@@ -100,7 +100,7 @@ const refundDetail = (req, res, next) => { |
|
|
}
|
|
|
|
|
|
Promise.all([returns.getRefundDetailData(applyId, uid), mcHandler.getMeThumb()]).then(result => {
|
|
|
let refundDetail = result[0];
|
|
|
let refundDetailData = result[0];
|
|
|
let thumb = result[1];
|
|
|
|
|
|
res.display('index', {
|
...
|
...
|
@@ -109,7 +109,7 @@ const refundDetail = (req, res, next) => { |
|
|
nav: mcHandler.getMeCrumb('我的退/换货'),
|
|
|
navigation: mcHandler.getSideMenu('我的退/换货'),
|
|
|
banner: thumb
|
|
|
}, refundDetail)
|
|
|
}, refundDetailData)
|
|
|
});
|
|
|
}).catch(next);
|
|
|
};
|
...
|
...
|
@@ -122,7 +122,7 @@ const exchange = (req, res, next) => { |
|
|
const uid = req.user.uid;
|
|
|
|
|
|
Promise.all([returns.getChangeGoodsList(code, uid), mcHandler.getMeThumb()]).then(result => {
|
|
|
let exchange = result[0];
|
|
|
let exchangeData = result[0];
|
|
|
let thumb = result[1];
|
|
|
|
|
|
res.display('index', {
|
...
|
...
|
@@ -132,7 +132,7 @@ const exchange = (req, res, next) => { |
|
|
nav: mcHandler.getMeCrumb('我的退/换货'),
|
|
|
navigation: mcHandler.getSideMenu('我的退/换货'),
|
|
|
banner: thumb
|
|
|
}, exchange)
|
|
|
}, exchangeData)
|
|
|
});
|
|
|
}).catch(next);
|
|
|
};
|
...
|
...
|
|