Compare commits

..

2 Commits

Author SHA1 Message Date
1244a99c4c Merge branch 'bugfix' of http://git.legu.cc/qixin/HJ_Server into bugfix 2023-12-25 14:33:01 +08:00
dd2962a80e 清理redis 2023-12-25 14:32:52 +08:00
2 changed files with 9 additions and 2 deletions

View File

@ -23,6 +23,12 @@ export async function clearGud(uid) {
console.log('清空tanxian Redis',uid);
G.redis.del("tanxian",uid);
}
try{
console.log('清空friend:list Redis',uid);
G.redis.hDel("friend:list",uid);
}catch(e){
}
};
/**

View File

@ -77,8 +77,9 @@ async function clearRedis() {
G.redis.fromatKey('hero'),
G.redis.fromatKey('equip'),
G.redis.fromatKey('shiwu'),
//G.redis.fromatKey('gbtx'),
//G.redis.fromatKey('dxlt'),
G.redis.fromatKey('tanxian'),
G.redis.fromatKey('gbtx'),
G.redis.fromatKey('dxlt'),
])
}