chanjs 1.1.1 → 1.1.2

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 +0 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -109,10 +109,8 @@ class Chan {
109
109
  */
110
110
  async loadModules(modules = "modules") {
111
111
  const configPath = path.join(Chan.config.APP_PATH, modules);
112
- console.log('configPath',configPath);
113
112
  if (fs.existsSync(configPath)) {
114
113
  const dirs = loadWebToEnd(Chan.config[modules]);
115
- console.log('dirs',dirs);
116
114
  Chan[modules] = {};
117
115
 
118
116
  // 先加载所有服务
@@ -154,7 +152,6 @@ class Chan {
154
152
  }
155
153
  }
156
154
  }
157
-
158
155
 
159
156
  /**
160
157
  * @description 扫描模块下所有service
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "chanjs",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "description": "chanjs基于express5 纯js研发的轻量级mvc框架。",
6
6
  "main": "index.js",
7
7
  "module": "index.js",