mm_os 2.9.7 → 2.9.8

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -163,7 +163,7 @@ OS.prototype.loadModule = function(cg) {
163
163
  $.sql = $.mysql_admin('sys', $.runPath);
164
164
  if (cg.mysql) {
165
165
  $.sql.setConfig(cg.mysql);
166
- if (cg.mysql.state === 1) {
166
+ if (cg.mysql.state) {
167
167
  $.sql.open();
168
168
  }
169
169
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mm_os",
3
- "version": "2.9.7",
3
+ "version": "2.9.8",
4
4
  "description": "这是超级美眉服务端框架,用于快速构建应用程序。",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -45,7 +45,7 @@
45
45
  "mm_machine": "^1.9.7",
46
46
  "mm_mongodb": "^1.4.2",
47
47
  "mm_mqtt": "^1.0.6",
48
- "mm_mysql": "^1.9.4",
48
+ "mm_mysql": "^1.9.6",
49
49
  "mm_redis": "^1.4.2",
50
50
  "mm_ret": "^1.4.0",
51
51
  "mm_session": "^1.4.8",