mm_os 1.9.3 → 1.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,7 @@ module.exports = function(server, config) {
22
22
 
23
23
  // 设置session 保存时长2小时
24
24
  server.use(session({
25
- maxAge: 7200
25
+ maxAge: config.login_period || 7200
26
26
  }));
27
27
 
28
28
  // 使用压缩
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -46,7 +46,7 @@
46
46
  "mm_mysql": "^1.7.8",
47
47
  "mm_redis": "^1.3.9",
48
48
  "mm_ret": "^1.3.7",
49
- "mm_session": "^1.4.1",
49
+ "mm_session": "^1.4.2",
50
50
  "mm_statics": "^1.4.0",
51
51
  "mm_tpl": "^2.2.9",
52
52
  "mm_xml": "^1.1.3",