浏览代码

roomparam rotate 类型更改

chejianzheng 3 月之前
父节点
当前提交
a0baf910a5
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/main/java/com/wxxcx/room/RoomParam.java
  2. 1 1
      src/main/java/com/wxxcx/ws/PushMsgWebSocket.java

+ 1 - 1
src/main/java/com/wxxcx/room/RoomParam.java

@@ -16,5 +16,5 @@ public class RoomParam {
 	private double y;
 	private int yuanX;
 	private int yuanY;
-	private boolean rotate;
+	private int rotate;
 }

+ 1 - 1
src/main/java/com/wxxcx/ws/PushMsgWebSocket.java

@@ -31,7 +31,7 @@ public class PushMsgWebSocket {
 
 	@OnOpen
 	public void onOpen(@PathParam("key") String key, Session session) throws IOException {
-		Log.info("ws连接" + key);
+		Log.error("ws连接" + key);
 		this.session = session;
 		this.key = key;
 		clients.put(key, this);