router.js 342 Bytes
/**
 * router of sub app channel
 * @author: Bi Kai<kai.bi@yoho.cn>
 * @date: 2016/05/09
 */

'use strict';

const express = require('express');
const router = express.Router();
const cRoot = './controllers';
const countController = require(`${cRoot}/count`);

router.get('/index/count', countController.cartCount);

module.exports = router;