|  | @@ -4,8 +4,10 @@ import com.alibaba.fastjson.JSON;
 | 
	
		
			
				|  |  |  import com.alibaba.fastjson.JSONArray;
 | 
	
		
			
				|  |  |  import com.alibaba.fastjson.JSONObject;
 | 
	
		
			
				|  |  |  import com.alibaba.fastjson.annotation.JSONField;
 | 
	
		
			
				|  |  | +import com.fasterxml.jackson.annotation.JsonProperty;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.enums.ETencentGroupType;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.enums.ETencentImCallbackCommand;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.enums.ETencentTRTCCallbackCommand;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiModel;
 | 
	
		
			
				|  |  |  import io.swagger.annotations.ApiModelProperty;
 | 
	
		
			
				|  |  |  import lombok.AllArgsConstructor;
 | 
	
	
		
			
				|  | @@ -16,6 +18,7 @@ import lombok.NoArgsConstructor;
 | 
	
		
			
				|  |  |  import java.io.Serializable;
 | 
	
		
			
				|  |  |  import java.time.LocalDateTime;
 | 
	
		
			
				|  |  |  import java.util.ArrayList;
 | 
	
		
			
				|  |  | +import java.util.Date;
 | 
	
		
			
				|  |  |  import java.util.List;
 | 
	
		
			
				|  |  |  import java.util.Locale;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -25,6 +28,8 @@ import java.util.Locale;
 | 
	
		
			
				|  |  |   * @author liujunchi
 | 
	
		
			
				|  |  |   * @date 2023-03-06
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  | +@NoArgsConstructor
 | 
	
		
			
				|  |  | +@Data
 | 
	
		
			
				|  |  |  public class TencentData {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      // 群成员离开之后回调对象
 | 
	
	
		
			
				|  | @@ -451,4 +456,66 @@ public class TencentData {
 | 
	
		
			
				|  |  |          private Integer code;
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @Data
 | 
	
		
			
				|  |  | +    @NoArgsConstructor
 | 
	
		
			
				|  |  | +    @AllArgsConstructor
 | 
	
		
			
				|  |  | +    @ApiModel("腾讯云回调事件")
 | 
	
		
			
				|  |  | +    public static class TRTCEventInfo implements Serializable {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("EventGroupId")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("事件组")
 | 
	
		
			
				|  |  | +        private Integer eventGroupId;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("EventType")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("事件类型")
 | 
	
		
			
				|  |  | +        private Integer eventType;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("CallbackTs")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("事件时间")
 | 
	
		
			
				|  |  | +        private Long callbackTs;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("EventInfo")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("事件消息")
 | 
	
		
			
				|  |  | +        private EventInfo eventInfo;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public String jsonString() {
 | 
	
		
			
				|  |  | +            return JSON.toJSONString(this);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    @Data
 | 
	
		
			
				|  |  | +    @NoArgsConstructor
 | 
	
		
			
				|  |  | +    @AllArgsConstructor
 | 
	
		
			
				|  |  | +    @ApiModel("事件消息")
 | 
	
		
			
				|  |  | +    public static class EventInfo implements Serializable {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("RoomId")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("房间号")
 | 
	
		
			
				|  |  | +        private String roomId;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("EventTs")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("事件发生时间")
 | 
	
		
			
				|  |  | +        private Long eventTs;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("UserId")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("事件发生用户")
 | 
	
		
			
				|  |  | +        private String userId;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("Role")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("用户角色")
 | 
	
		
			
				|  |  | +        private String role;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("TerminalType")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("终端类型")
 | 
	
		
			
				|  |  | +        private String terminalType;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("UserType")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("用户类型")
 | 
	
		
			
				|  |  | +        private String userType;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        @JsonProperty("Reason")
 | 
	
		
			
				|  |  | +        @ApiModelProperty("原因")
 | 
	
		
			
				|  |  | +        private String reason;
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |  }
 |