Commit 5ff54e22 by zhangxk

修改事件、流量包体长度

1 parent d50e9720
...@@ -61,7 +61,7 @@ public class BehaviorModel extends BaseModel { ...@@ -61,7 +61,7 @@ public class BehaviorModel extends BaseModel {
@Override @Override
public void encodeData() { public void encodeData() {
this.length = 16L + 448L + picture.length; this.length = 16L + 448L + picture.length + 4;
this.protocol = 0x00040006L; this.protocol = 0x00040006L;
this.flag = Application.REAL_TIME; this.flag = Application.REAL_TIME;
ByteBuf buffer = ByteBufAllocator.DEFAULT.buffer(); ByteBuf buffer = ByteBufAllocator.DEFAULT.buffer();
......
...@@ -33,7 +33,7 @@ public class FlowModel extends BaseModel { ...@@ -33,7 +33,7 @@ public class FlowModel extends BaseModel {
@Override @Override
public void encodeData() { public void encodeData() {
this.length = 540L; this.length = 544L;
this.protocol = 0x00040005L; this.protocol = 0x00040005L;
this.flag = Application.REAL_TIME; this.flag = Application.REAL_TIME;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!