Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 547e8dbb
authored
Aug 15, 2021
by
danmo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1、会话存档音频格式消息修改位amr格式
2、会话sql修改
1 parent
780b2d1e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
linkwe-common/src/main/java/com/tencent/wework/FinanceService.java
linkwe-wecom/src/main/resources/mapper/wecom/WeChatContactMsgMapper.xml
linkwe-common/src/main/java/com/tencent/wework/FinanceService.java
View file @
547e8db
...
@@ -230,7 +230,7 @@ public class FinanceService{
...
@@ -230,7 +230,7 @@ public class FinanceService{
}
}
private
void
setMediaVoiceData
(
JSONObject
realJsonData
,
String
msgType
)
{
private
void
setMediaVoiceData
(
JSONObject
realJsonData
,
String
msgType
)
{
String
fileName
=
IdUtils
.
simpleUUID
()
+
".
mp3
"
;
String
fileName
=
IdUtils
.
simpleUUID
()
+
".
amr
"
;
getPath
(
realJsonData
,
msgType
,
fileName
);
getPath
(
realJsonData
,
msgType
,
fileName
);
}
}
...
...
linkwe-wecom/src/main/resources/mapper/wecom/WeChatContactMsgMapper.xml
View file @
547e8db
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
from we_chat_contact_msg
from we_chat_contact_msg
where from_id = #{fromId} and room_id
<>
''
where from_id = #{fromId} and room_id
<>
''
union
union
select
fr
om_id as receiver, `action`, msg_time, msg_type, contact
select
ro
om_id as receiver, `action`, msg_time, msg_type, contact
from we_chat_contact_msg
from we_chat_contact_msg
where FIND_IN_SET(#{fromId}, to_list) and room_id
<>
''
where FIND_IN_SET(#{fromId}, to_list) and room_id
<>
''
order by msg_time desc
order by msg_time desc
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment