练兵场结算

This commit is contained in:
mamengke01
2021-01-26 10:41:54 +08:00
parent d4d4ba825b
commit 3c3e734019
24 changed files with 6690 additions and 1765 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export class RedlockService {
}
export async function lockData(serverId: string, dataName: string, id: string ) {
export async function lockData(serverId: number, dataName: string, id: string ) {
let key = 'serverId_'+serverId+'_'+dataName+'_'+id;
let lockKey = 'locks:' + key;
console.log(' lockKey = '+ lockKey);