Blame view

apps/download/router.js 315 Bytes
yyq authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/**
 * router of sub app download
 * @author: yyq<yanqing.yang@yoho.cn>
 * @date: 2017/03/27
 */

'use strict';

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

const appCtrl = require(`${cRoot}/app`);

router.get('/app', appCtrl.index);

module.exports = router;