1
This commit is contained in:
parent
b324ba2e7f
commit
473d1488d4
@ -71,15 +71,15 @@ async function internalDbConn(app, name, method, ...args) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function getBcEventConn(app, 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) {
|
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) {
|
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;
|
exports.getBcEventConn = getBcEventConn;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user