...
|
...
|
@@ -12,9 +12,10 @@ var grayroute = require("./mid/grayrouter"); |
|
|
/*session 配置*/
|
|
|
var options = {
|
|
|
secret: 'yohobuy.shops', //session配置
|
|
|
cookie: {secure: false, maxAge: 3600000},
|
|
|
cookie: {secure: false, maxAge: 7200000},
|
|
|
resave: false,
|
|
|
saveUninitialized: true
|
|
|
saveUninitialized: true,
|
|
|
rolling: true
|
|
|
};
|
|
|
|
|
|
/*老平台接口 配置*/
|
...
|
...
|
|