This commit is contained in:
aozhiwei 2023-07-25 17:37:44 +08:00
parent d9b58760f1
commit 6259f74ec0

View File

@ -1,7 +1,9 @@
const metaFactory = require('../metadata/factory');
const redis = require("redis")
const REDIS_CONF = {
port: 6379,
host: '127.0.0.1'
port: metaFactory.getMetaByKey('GameRedis', '0')['port'],
host: metaFactory.getMetaByKey('GameRedis', '0')['host'],
}
class Redis {