Authored by 李奇

Merge branch 'feature/remove-memcached' into feature/docker

@@ -13,7 +13,7 @@ const RedisStore = redis(session); @@ -13,7 +13,7 @@ const RedisStore = redis(session);
13 */ 13 */
14 function yohoSession(opts) { 14 function yohoSession(opts) {
15 return (req, res, next) => { 15 return (req, res, next) => {
16 - let notUseRedis = _.get(req.app.locals.pc, 'session.removeRedis', false); 16 + let notUseRedis = _.get(req.app.locals.pc, 'session.removeMemcached', false); // 开关字段暂时复用原字段名
17 17
18 opts.backSession = opts.backSession || 'session2'; 18 opts.backSession = opts.backSession || 'session2';
19 if (req.session && !notUseRedis) { 19 if (req.session && !notUseRedis) {