order.js 540 Bytes
/**
 * [个人中心]首页/我的订单
 * @author: xuqi<qi.xu@yoho.cn>
 * @date: 2016/07/04
 */

'use strict';

const mcHandler = require('../models/menu-crumb-handler');

/**
 * 订单
 */
const index = (req, res) => {
    res.render('index', {
        module: 'me',
        page: 'order',
        isMe: true,
        content: {
            nav: mcHandler.getMeCrumb(),
            navigation: mcHandler.getSideMenu('我的订单'),
            banner: 'http://placehold.it/150x120'
        }
    });
};

module.exports = {
    index
};