This commit is contained in:
aozhiwei 2023-06-13 17:21:38 +08:00
parent 0b2c5259bf
commit 5b938f3977

View File

@ -97,9 +97,10 @@ function init() {
'Item' 'Item'
); );
{ {
const jsonData = utils.readJsonFromFile(''); const jsonData = utils.readJsonFromFile(configDir + 'web3service.cluster.json');
} jsonData.forEach((item) => {
/* if (item['instance_id'] == app.getInstanceId()) {
item['nets'].forEach((netId) => {
registerMetaClass(configDir + 'web3.json', registerMetaClass(configDir + 'web3.json',
'', '',
'Web3' 'Web3'
@ -108,7 +109,10 @@ function init() {
'name', 'name',
'Contract' 'Contract'
); );
*/ });
}
});
}
load(); load();
{ {
traverseMetaList('MarketDb', (dbConf, idx) => { traverseMetaList('MarketDb', (dbConf, idx) => {