Authored by 陈峰

easypay csrf

@@ -36,7 +36,7 @@ router.post('/ensure/compute', auth, ensure.compute); // 价格重新计算 @@ -36,7 +36,7 @@ router.post('/ensure/compute', auth, ensure.compute); // 价格重新计算
36 router.post('/ensure/submit', auth, csrf, ensure.submitCheck, ensure.submit); // 订单提交 36 router.post('/ensure/submit', auth, csrf, ensure.submitCheck, ensure.submit); // 订单提交
37 router.post('/property/checksms', ensure.sendCheckSms); // 虚拟资产使用校验 37 router.post('/property/checksms', ensure.sendCheckSms); // 虚拟资产使用校验
38 38
39 -router.get('/easypay', auth, easypay.index); // 限购商品快捷结算页 39 +router.get('/easypay', auth, csrf, easypay.index); // 限购商品快捷结算页
40 router.post('/easypay/compute', auth, easypay.compute); // 价格重新计算 40 router.post('/easypay/compute', auth, easypay.compute); // 价格重新计算
41 router.post('/easypay/submit', auth, easypay.submit); // 限购商品订单提交 41 router.post('/easypay/submit', auth, easypay.submit); // 限购商品订单提交
42 42