Authored by ccbikai

代码检查

... ... @@ -69,10 +69,10 @@ app.use(session({
domain: 'yohoblk.com',
httpOnly: false
},
// store: new MemcachedStore({
// hosts: config.memcache.session,
// prefix: 'yohoblk_session:'
// })
store: new MemcachedStore({
hosts: config.memcache.session,
prefix: 'yohoblk_session:'
})
}));
app.use((req, res, next) => {
... ...
... ... @@ -4,15 +4,13 @@
* @date: 2016/05/09
*/
'use strict';
const _ = require('lodash');
const helpers = global.yoho.helpers;
const brand = require('./brand');
/**
* 频道选择页
*/
const component = {
index: (req, res, next) => {
index: (req, res) => {
res.render('index', {
module: 'example',
page: 'home'
... ...
... ... @@ -56,4 +56,4 @@ exports.favoriteDelete = (uid, favId, type) => {
type: type,
fav_id: favId
});
};
\ No newline at end of file
};
... ...