Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
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
quanku
qk_backend
Commits
276fd97f
Commit
276fd97f
authored
Nov 09, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
创建会话 聊天用户账号格式化
parent
68c6e9f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/ImServiceImpl.java
...-api/src/main/java/com/wwdz/ch/wx/impl/ImServiceImpl.java
+2
-2
No files found.
ch-wx-api/src/main/java/com/wwdz/ch/wx/impl/ImServiceImpl.java
View file @
276fd97f
...
@@ -130,8 +130,8 @@ public class ImServiceImpl implements IMService {
...
@@ -130,8 +130,8 @@ public class ImServiceImpl implements IMService {
boolean
isExisted
=
conversationDao
.
isExisted
(
dto
.
getFromAccount
(),
dto
.
getToAccount
());
boolean
isExisted
=
conversationDao
.
isExisted
(
dto
.
getFromAccount
(),
dto
.
getToAccount
());
if
(!
isExisted
)
{
if
(!
isExisted
)
{
Conversation
conversation
=
new
Conversation
();
Conversation
conversation
=
new
Conversation
();
conversation
.
setFromAccount
(
dto
.
getFromAccount
(
));
conversation
.
setFromAccount
(
imUtil
.
revertAppletUserId
(
dto
.
getFromAccount
()
));
conversation
.
setToAccount
(
dto
.
getToAccount
(
));
conversation
.
setToAccount
(
imUtil
.
revertAppletUserId
(
dto
.
getToAccount
()
));
String
chatId
=
dto
.
getFromAccount
()
+
"_to_"
+
dto
.
getToAccount
();
String
chatId
=
dto
.
getFromAccount
()
+
"_to_"
+
dto
.
getToAccount
();
conversation
.
setChatId
(
chatId
);
conversation
.
setChatId
(
chatId
);
conversation
.
setCreateTime
(
new
Date
());
conversation
.
setCreateTime
(
new
Date
());
...
...
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