router.js 464 Bytes
/**
 * router of sub app product
 * @author: xuqi<qi.xu@yoho.cn>
 * @date: 2016/05/06
 */

'use strict';

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

// 商品详情controller
// const detail = require(`${cRoot}/detail`);

// 商品详情controller
const sale = require(`${cRoot}/sale`);

// routers
// router.get('/detail/:id/:gid', detail.index);
router.get('/sale', sale.index);

module.exports = router;