...
|
...
|
@@ -299,11 +299,13 @@ const orderList = (req, res, next) => { |
|
|
// 处理数据,订单只包含第一条物品纪录
|
|
|
var list = result.data ? result.data.orderList : [];
|
|
|
|
|
|
list.forEach((item)=> {
|
|
|
item.orderGoods = [
|
|
|
item.orderGoods[0]
|
|
|
];
|
|
|
});
|
|
|
if (list) {
|
|
|
list.forEach((item)=> {
|
|
|
item.orderGoods = [
|
|
|
item.orderGoods[0]
|
|
|
];
|
|
|
});
|
|
|
}
|
|
|
|
|
|
return list;
|
|
|
})()),
|
...
|
...
|
@@ -389,7 +391,7 @@ const help = (req, res) => { |
|
|
};
|
|
|
|
|
|
// 服务条款静态页面
|
|
|
const serviceProvision = (req, res) => {
|
|
|
const termsOfService = (req, res) => {
|
|
|
res.render('installment/service-provision', {
|
|
|
title: '服务条款'
|
|
|
});
|
...
|
...
|
@@ -435,7 +437,7 @@ module.exports = { |
|
|
orderDetail,
|
|
|
repayDetail,
|
|
|
help,
|
|
|
serviceProvision,
|
|
|
termsOfService,
|
|
|
agreement,
|
|
|
totalAmount,
|
|
|
checkVerifyCode,
|
...
|
...
|
|