@@ -3,8 +3,10 @@ export enum SocketEvent {
JOIN = 'join',
LEAVE = 'leave',
NOTIFY = 'notify',
- // 正在查看项目
- VIEW_PROJECT = 'viewProject',
+ // 正在查看项目有用户进入
+ VIEW_PROJECT_ENTER = 'viewProjectEnter',
+ // 正在查看项目有用户离开
+ VIEW_PROJECT_LEAVE = 'viewProjectLeave',
}
export enum SocketName {
@@ -85,6 +85,7 @@ export interface IViewingProjectUser {
projectID: string;
userID: string;
userName: string;
+ mobile: string;
enterpriseID: string;
enterpriseName: string;