Commit 1366a0ee authored by 赵啸非's avatar 赵啸非

修改配置文件

parent 3bd1ed52
...@@ -63,9 +63,9 @@ public class ChatMsgRspThread implements Runnable { ...@@ -63,9 +63,9 @@ public class ChatMsgRspThread implements Runnable {
rspJson.put("object", ""); rspJson.put("object", "");
log.info("快速响应线程写入数据,rsp:{}", rspJson.toJSONString(SerializerFeature.WriteMapNullValue)); log.info("快速响应线程写入数据,rsp:{}", rspJson.toJSONString(rspJson,SerializerFeature.WriteMapNullValue));
// context.getEmitter().next("data:"+rspJson.toJSONString()); // context.getEmitter().next("data:"+rspJson.toJSONString());
context.getEmitter().next(rspJson.toJSONString(SerializerFeature.WriteMapNullValue)); context.getEmitter().next(rspJson.toJSONString(rspJson,SerializerFeature.WriteMapNullValue));
reCount++; reCount++;
try { try {
Thread.sleep(1000); Thread.sleep(1000);
......
...@@ -141,7 +141,7 @@ public class BaseChatService extends AbstractFlowChatTemplate { ...@@ -141,7 +141,7 @@ public class BaseChatService extends AbstractFlowChatTemplate {
} }
return bodyJson.toJSONString(SerializerFeature.WriteMapNullValue); return bodyJson.toJSONString(bodyJson,SerializerFeature.WriteMapNullValue);
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment