Commit 062652db by 孙喜旺

1、会话存档音频格式消息修改位amr格式

2、会话sql修改
1 parent ac4ae6f4
...@@ -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);
} }
......
...@@ -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 from_id as receiver, `action`, msg_time, msg_type, contact select room_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
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!