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.
- package/index.js +0 -3
- 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
|