Blame view

apps/3party/router.js 323 Bytes
郭成尧 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/**
 * router of sub app coupon
 * @author: lixia.zhang<lixia.zhang@yoho.cn>
 * @date: 2016/05/31
 */

'use strict';

const router = require('express').Router(); // eslint-disable-line
const cRoot = './controllers';
const ads = require(`${cRoot}/ads`);

// routers

router.get('/ads', ads.index);

module.exports = router;