This commit is contained in:
aozhiwei 2023-06-14 10:17:53 +08:00
parent aa55a479c4
commit ee1d143d69
2 changed files with 1 additions and 2 deletions

View File

@ -4,7 +4,6 @@ const config = require('j7/config');
event.addListener(event.APP_INITIALIZED_EVENT, async () => {
await require('./metadata/factory').init();
await require('./blockchain').init();
await require('./middlewares/factory').init();
await require('./controllers/factory').init();
await require('./models/factory').init();

View File

@ -22,7 +22,7 @@ async function addSingle(clsName, modName) {
}
async function init() {
await Add("BlockChain", 'blockchain');
await add("BlockChain", 'blockchain');
}
function create(name, session) {