Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
robot-trans-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
robot-trans-platform
Commits
1366a0ee
Commit
1366a0ee
authored
2 months ago
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
3bd1ed52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
robot-trans-manager/src/main/java/com/mortals/xhx/thread/ChatMsgRspThread.java
...rc/main/java/com/mortals/xhx/thread/ChatMsgRspThread.java
+2
-2
robot-trans-manager/src/main/java/com/mortals/xhx/webflux/service/impl/BaseChatService.java
...com/mortals/xhx/webflux/service/impl/BaseChatService.java
+1
-1
No files found.
robot-trans-manager/src/main/java/com/mortals/xhx/thread/ChatMsgRspThread.java
View file @
1366a0ee
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
robot-trans-manager/src/main/java/com/mortals/xhx/webflux/service/impl/BaseChatService.java
View file @
1366a0ee
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment