wangwei 5 rokov pred
rodič
commit
3c462f614a

+ 51 - 0
examcloud-ws-api/src/main/java/cn/com/qmth/examcloud/ws/api/request/SendTextReq.java

@@ -1,9 +1,60 @@
 package cn.com.qmth.examcloud.ws.api.request;
 
 import cn.com.qmth.examcloud.api.commons.exchange.BaseRequest;
+import cn.com.qmth.examcloud.api.commons.security.bean.UserType;
 
 public class SendTextReq extends BaseRequest {
 
 	private static final long serialVersionUID = 6766252085491613807L;
 
+	private UserType userType;
+
+	private Long userId;
+
+	private String path;
+
+	private String eventId;
+
+	private String content;
+
+	public UserType getUserType() {
+		return userType;
+	}
+
+	public void setUserType(UserType userType) {
+		this.userType = userType;
+	}
+
+	public Long getUserId() {
+		return userId;
+	}
+
+	public void setUserId(Long userId) {
+		this.userId = userId;
+	}
+
+	public String getPath() {
+		return path;
+	}
+
+	public void setPath(String path) {
+		this.path = path;
+	}
+
+	public String getEventId() {
+		return eventId;
+	}
+
+	public void setEventId(String eventId) {
+		this.eventId = eventId;
+	}
+
+	public String getContent() {
+		return content;
+	}
+
+	public void setContent(String content) {
+		this.content = content;
+	}
+
 }

+ 10 - 0
examcloud-ws-api/src/main/java/cn/com/qmth/examcloud/ws/api/response/SendTextResp.java

@@ -6,4 +6,14 @@ public class SendTextResp extends BaseResponse {
 
 	private static final long serialVersionUID = -9173151152776220512L;
 
+	private String sessionId;
+
+	public String getSessionId() {
+		return sessionId;
+	}
+
+	public void setSessionId(String sessionId) {
+		this.sessionId = sessionId;
+	}
+
 }