redis 常用方法封装
npm install @kin-common/redis-client
const {pool, set, selectDB} = require('@kin-common/redis-client');
// 设置redis连接信息
pool.setConfig(redisConf, poolConf);
// 使用
set(12,'key', 'hello world');
// 等价于
const {set} = selectDB(12);
set('key', 'hello world')