This commit is contained in:
dute7liang
2024-01-11 23:38:56 +08:00
parent f7485b9066
commit 728192d4f0
21 changed files with 231 additions and 58 deletions

View File

@@ -7,4 +7,13 @@ public class WsToken {
private Long roomId;
private Long fromUid;
private Long toUid;
private Long userId;
public boolean isCall(){
return userId.equals(fromUid);
}
public boolean isReceive(){
return userId.equals(toUid);
}
}