router.js
909 Bytes
/**
* router of sub app home
* @author: Bi Kai<kai.bi@yoho.cn>
* @date: 2016/05/09
*/
'use strict';
const express = require('express');
const cRoot = './controllers';
const installment = require(cRoot + '/installment');
const router = express.Router(); // eslint-disable-line
// 分期付款
router.get('/installment/index', installment.index);// 开通分期首页
router.get('/installment/review', installment.review); // 开通分期首页
router.get('/installment/starting-service', installment.startingService); // 分期付款开通
router.get('/installment/starting-service/verify-code', installment.verifyCode);
router.get('/installment/bank-info', installment.getBankInfo);
router.post('/installment/activate-service', installment.activateService);
router.get('/installment/order', installment.order);
router.get('/installment/order/{:id}', installment.orderDetail);
module.exports = router;