This commit is contained in:
aozhiwei 2023-06-13 16:27:38 +08:00
parent 2c31ab7576
commit ac6c231ed9
3 changed files with 16 additions and 13 deletions

View File

@ -1,6 +1,9 @@
[ [
{ {
"instance_id" : 1, "instance_id" : 1,
"listen_port": 7672 "listen_port": 7672,
"nets": [
421613
]
} }
] ]

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
node ../../web3service/app.js node ../../web3service/app.js -n1 -i1

View File

@ -87,15 +87,6 @@ function init() {
'', '',
'Config' 'Config'
); );
registerMetaClass(configDir + 'web3.json',
'',
'Web3'
);
registerMetaClass(configDir + 'contract.json',
'name',
'Contract'
);
registerMetaClass(configDir + 'blockchaindb_mysql.json', registerMetaClass(configDir + 'blockchaindb_mysql.json',
'', '',
'MarketDb' 'MarketDb'
@ -105,7 +96,16 @@ function init() {
'id', 'id',
'Item' 'Item'
); );
/*
registerMetaClass(configDir + 'web3.json',
'',
'Web3'
);
registerMetaClass(configDir + 'contract.json',
'name',
'Contract'
);
*/
load(); load();
{ {
traverseMetaList('MarketDb', (dbConf, idx) => { traverseMetaList('MarketDb', (dbConf, idx) => {