Commit c2a9545e by 徐高华

企微托管

parent f8175877
...@@ -204,8 +204,11 @@ public class QywxCallbackController extends WebBaseController { ...@@ -204,8 +204,11 @@ public class QywxCallbackController extends WebBaseController {
}else if (msgtype==16) { }else if (msgtype==16) {
msg.setMsgtype(OpenQwMsgTypeEnum.VOICE); msg.setMsgtype(OpenQwMsgTypeEnum.VOICE);
msg.setContent(json.getString("语音消息")); msg.setContent(json.getString("语音消息"));
msg.setFileSize(json.getInteger("voice_size"));
msg.setAeskey(json.getString("aes_key"));
msg.setFileId(json.getString("voice_id"));
}else if (msgtype==40) { }else if (msgtype==40) {
// 2语音 1视频 // 2语音电话 1视频电话
int callType = json.getIntValue("invitetype") ; int callType = json.getIntValue("invitetype") ;
if(!this.setTelType(callType,msg)) { if(!this.setTelType(callType,msg)) {
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment