清理redis
This commit is contained in:
parent
a0d4c911d8
commit
dd2962a80e
@ -23,6 +23,12 @@ export async function clearGud(uid) {
|
|||||||
console.log('清空tanxian Redis',uid);
|
console.log('清空tanxian Redis',uid);
|
||||||
G.redis.del("tanxian",uid);
|
G.redis.del("tanxian",uid);
|
||||||
}
|
}
|
||||||
|
try{
|
||||||
|
console.log('清空friend:list Redis',uid);
|
||||||
|
G.redis.hDel("friend:list",uid);
|
||||||
|
}catch(e){
|
||||||
|
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -77,8 +77,9 @@ async function clearRedis() {
|
|||||||
G.redis.fromatKey('hero'),
|
G.redis.fromatKey('hero'),
|
||||||
G.redis.fromatKey('equip'),
|
G.redis.fromatKey('equip'),
|
||||||
G.redis.fromatKey('shiwu'),
|
G.redis.fromatKey('shiwu'),
|
||||||
//G.redis.fromatKey('gbtx'),
|
G.redis.fromatKey('tanxian'),
|
||||||
//G.redis.fromatKey('dxlt'),
|
G.redis.fromatKey('gbtx'),
|
||||||
|
G.redis.fromatKey('dxlt'),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user