Authored by 郭成尧

installment-auth

@@ -115,39 +115,39 @@ router.get('/onlineservice', onlineService.getOnlineServiceInfo); @@ -115,39 +115,39 @@ router.get('/onlineservice', onlineService.getOnlineServiceInfo);
115 router.get('/onlineservicedetail', onlineService.getOnlineServiceDetail); 115 router.get('/onlineservicedetail', onlineService.getOnlineServiceDetail);
116 116
117 // 分期付款 117 // 分期付款
118 -router.get('/installment/index', installment.sessionKeyAuth, installment.index); // 开通分期首页  
119 -router.get('/installment/review', installment.sessionKeyAuth, installment.review); // 开通分期首页  
120 -router.get('/installment/starting-service', installment.sessionKeyAuth, installment.startingService); // 分期付款开通  
121 -router.get('/installment/starting-service/verify-code', installment.sessionKeyAuth, installment.verifyCode);  
122 -router.get('/installment/starting-service/check-verify-code', installment.sessionKeyAuth, installment.checkVerifyCode);  
123 -router.get('/installment/get-goods', installment.sessionKeyAuth, installment.getInstallmentGoods); // ajax请求分期专享商品数据  
124 -  
125 -router.get('/installment/repay/overdue', installment.sessionKeyAuth, installment.overdueList); // 逾期未还款列表  
126 -router.get('/installment/repay/7daylist', installment.sessionKeyAuth, installment.sevenDayList); // 7日待还款列表  
127 -router.get('/installment/repay/month', installment.sessionKeyAuth, installment.monthRepayList); // 本月待还款列表  
128 -router.get('/installment/repay/total', installment.sessionKeyAuth, installment.totalRepayList); // 待还总金额列表  
129 -router.get('/installment/repay/record', installment.sessionKeyAuth, installment.repayRecordPage); // 还款记录  
130 -router.get('/installment/repay/get-record', installment.sessionKeyAuth, installment.getRepayRecord); // ajax请求还款记录  
131 -router.get('/installment/repay/detail', installment.sessionKeyAuth, installment.repayDetail); // 还款详情  
132 -  
133 -router.get('/installment/account', installment.sessionKeyAuth, installment.account); // 账户管理  
134 -router.get('/installment/bind-card', installment.sessionKeyAuth, installment.bindCard); // 添加新银行卡  
135 -router.get('/installment/post-account', installment.sessionKeyAuth, installment.postAccount); // 添加新卡请求  
136 -router.get('/installment/bank-info', installment.sessionKeyAuth, installment.getBankInfo);  
137 -router.post('/installment/activate-service', installment.sessionKeyAuth, installment.activateService);  
138 -router.get('/installment/order', installment.sessionKeyAuth, installment.orderIndex);  
139 -router.get('/installment/order.html', installment.sessionKeyAuth, installment.orderList);  
140 -router.get('/installment/order/:id', installment.sessionKeyAuth, installment.orderDetail);  
141 -router.get('/installment/total-amount.json', installment.sessionKeyAuth, installment.totalAmount); 118 +router.get('/installment/index', auth, installment.index); // 开通分期首页
  119 +router.get('/installment/review', auth, installment.review); // 开通分期首页
  120 +router.get('/installment/starting-service', auth, installment.startingService); // 分期付款开通
  121 +router.get('/installment/starting-service/verify-code', auth, installment.verifyCode);
  122 +router.get('/installment/starting-service/check-verify-code', auth, installment.checkVerifyCode);
  123 +router.get('/installment/get-goods', auth, installment.getInstallmentGoods); // ajax请求分期专享商品数据
  124 +
  125 +router.get('/installment/repay/overdue', auth, installment.overdueList); // 逾期未还款列表
  126 +router.get('/installment/repay/7daylist', auth, installment.sevenDayList); // 7日待还款列表
  127 +router.get('/installment/repay/month', auth, installment.monthRepayList); // 本月待还款列表
  128 +router.get('/installment/repay/total', auth, installment.totalRepayList); // 待还总金额列表
  129 +router.get('/installment/repay/record', auth, installment.repayRecordPage); // 还款记录
  130 +router.get('/installment/repay/get-record', auth, installment.getRepayRecord); // ajax请求还款记录
  131 +router.get('/installment/repay/detail', auth, installment.repayDetail); // 还款详情
  132 +
  133 +router.get('/installment/account', auth, installment.account); // 账户管理
  134 +router.get('/installment/bind-card', auth, installment.bindCard); // 添加新银行卡
  135 +router.get('/installment/post-account', auth, installment.postAccount); // 添加新卡请求
  136 +router.get('/installment/bank-info', auth, installment.getBankInfo);
  137 +router.post('/installment/activate-service', auth, installment.activateService);
  138 +router.get('/installment/order', auth, installment.orderIndex);
  139 +router.get('/installment/order.html', auth, installment.orderList);
  140 +router.get('/installment/order/:id', auth, installment.orderDetail);
  141 +router.get('/installment/total-amount.json', auth, installment.totalAmount);
142 142
143 router.get('/installment/help', installment.sessionKeyAuth, installment.help);// 帮助静态页面 143 router.get('/installment/help', installment.sessionKeyAuth, installment.help);// 帮助静态页面
144 router.get('/installment/agreement', installment.sessionKeyAuth, installment.agreement);// 服务协议静态页面 144 router.get('/installment/agreement', installment.sessionKeyAuth, installment.agreement);// 服务协议静态页面
145 145
146 router.get('/installment/server-crash', installment.sessionKeyAuth, installment.serverCrash); // 服务器崩溃 146 router.get('/installment/server-crash', installment.sessionKeyAuth, installment.serverCrash); // 服务器崩溃
147 -router.get('/installment/bank-card', installment.sessionKeyAuth, installment.bankCard); // 银行卡列表  
148 -router.get('/installment/card-detail', installment.sessionKeyAuth, installment.cardDetail); // 银行卡详情  
149 -router.get('/installment/delBankCard', installment.sessionKeyAuth, installment.delBankCard); // 删除绑定  
150 -router.get('/installment/setMasterCard', installment.sessionKeyAuth, installment.setMasterCard); // 切换主卡 147 +router.get('/installment/bank-card', auth, installment.bankCard); // 银行卡列表
  148 +router.get('/installment/card-detail', auth, installment.cardDetail); // 银行卡详情
  149 +router.get('/installment/delBankCard', auth, installment.delBankCard); // 删除绑定
  150 +router.get('/installment/setMasterCard', auth, installment.setMasterCard); // 切换主卡
151 151
152 router.get('/getaddress.json', addressController.newGetAddress); // TODO 模拟省数据 152 router.get('/getaddress.json', addressController.newGetAddress); // TODO 模拟省数据
153 153