fix 战报未保存对手roleId

This commit is contained in:
luying
2021-01-15 18:24:51 +08:00
parent 3973fc66eb
commit eac517c57b
4 changed files with 3 additions and 4 deletions
-1
View File
@@ -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;
}