router.js 359 Bytes
/**
 * 通用路由处理
 * @author: xuqi<qi.xu@yoho.cn>
 * @date: 2016/4/28
 */

'use strict';

const router = require('express').Router(); // eslint-disable-line

const alipayController = require('./middleware/alipay.controller');
const auth = require('./middleware/auth');

router.post('/submit', auth, alipayController.submit);

module.exports = router;