index.js
415 Bytes
/**
* 购物车
* @author: feng.chen<feng.chen@yoho.cn>
* @date: 2016/12/21
*/
'use strict';
const indexModel = require('../models/index');
let index = (req, res, next) => {
let data = {};
res.render('index', Object.assign(data, {
title: '购物车',
module: 'cart',
page: 'index',
localCss: true,
width750: true
}))
};
module.exports = {
index
};