This commit is contained in:
aozhiwei 2023-07-13 15:05:00 +08:00
parent b324ba2e7f
commit 473d1488d4

View File

@ -71,15 +71,15 @@ async function internalDbConn(app, name, method, ...args) {
}
async function getBcEventConn(app, method, ...args) {
const conn = await internalCreateConn(app, constant.BCEVENTDB_NAME);
return await internalDbConn(app, constant.BCEVENTDB_NAME, method, ...args);
}
async function getBcNftConn(app, method, ...args) {
const conn = await internalCreateConn(app, constant.BCNFTDB_NAME);
return await internalDbConn(app, constant.BCNFTDB_NAME, method, ...args);
}
async function getGameConn(app, method, ...args) {
const conn = await internalCreateConn(app, constant.GAMEDB_NAME);
return await internalDbConn(app, constant.GAMEDB_NAME, method, ...args);
}
exports.getBcEventConn = getBcEventConn;