|
@@ -17,7 +17,7 @@ let URL = require('url');
|
|
|
|
|
|
dbm.connect();
|
|
|
//这里现在只引入了定额工料机里的models,当其它模块的models修改后使用:./modules/**/models/*.js引入所有的模块
|
|
|
-fileUtils.getGlobbedFiles('./modules/ration_glj/models/*.js').forEach(function(modelPath) {
|
|
|
+fileUtils.getGlobbedFiles('./modules/all_models/*.js').forEach(function(modelPath) {
|
|
|
require(path.resolve(modelPath));
|
|
|
})
|
|
|
//暂时引入其它模块的model
|