fix 战报未保存对手roleId
This commit is contained in:
@@ -120,7 +120,6 @@ export async function getMyRank(key: string, serverId: number, roleId: string) {
|
||||
export async function getFieldByRank(key: string, serverId: number, rank: number) {
|
||||
const client: Redis.RedisClient = pinus.app.get('redis');
|
||||
let myRank = await client.zrevrangeAsync(getKeyName(key, serverId), rank - 1, rank - 1);
|
||||
console.log('****', JSON.stringify(myRank))
|
||||
return myRank;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user