Authored by 郝肖肖

静态页面url

... ... @@ -327,6 +327,27 @@ const repayDetail = (req, res, next) => {
}).catch(next);
};
// 帮助静态页面
const help = (req, res) => {
res.render('installment/help', {
title: '帮助'
});
};
// 服务条款静态页面
const serviceProvision = (req, res) => {
res.render('installment/service-provision', {
title: '服务条款'
});
};
// 协议静态页面
const agreement = (req, res) => {
res.render('installment/agreement', {
title: '服务协议'
});
};
module.exports = {
index,
review,
... ... @@ -344,5 +365,8 @@ module.exports = {
orderIndex,
orderList,
orderDetail,
repayDetail
repayDetail,
help,
serviceProvision,
agreement
};
... ...
... ... @@ -32,4 +32,8 @@ router.get('/installment/order', installment.orderIndex);
router.get('/installment/order.html', installment.orderList);
router.get('/installment/order/:id', installment.orderDetail);
router.get('/installment/help', installment.help);// 帮助静态页面
router.get('/installment/service-provision', installment.serviceProvision);// 服务条款静态页面
router.get('/installment/agreement', installment.agreement);// 服务协议静态页面
module.exports = router;
... ...
协议
\ No newline at end of file
... ...
帮助页面
\ No newline at end of file
... ...
服务条款
\ No newline at end of file
... ...