Commit 547e8dbb by danmo

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

2、会话sql修改
1 parent 780b2d1e
......@@ -230,7 +230,7 @@ public class FinanceService{
}
private void setMediaVoiceData(JSONObject realJsonData, String msgType) {
String fileName = IdUtils.simpleUUID() + ".mp3";
String fileName = IdUtils.simpleUUID() + ".amr";
getPath(realJsonData, msgType, fileName);
}
......
......@@ -91,7 +91,7 @@
from we_chat_contact_msg
where from_id = #{fromId} and room_id <> ''
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
where FIND_IN_SET(#{fromId}, to_list) and room_id <> ''
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!