Commit a0617652 by 徐高华

企微托管

parent 5a06dce5
...@@ -214,7 +214,6 @@ public class QywxCallbackController extends WebBaseController { ...@@ -214,7 +214,6 @@ public class QywxCallbackController extends WebBaseController {
return; return;
} }
// //1代表对方取消 5代表语音结束 // //1代表对方取消 5代表语音结束
int recordtype = json.getIntValue("recordtype") ;
msg.setContent(json.getString("recordwording")); msg.setContent(json.getString("recordwording"));
}else if (msgtype==503) { }else if (msgtype==503) {
// 2语音 1视频 // 2语音 1视频
...@@ -222,12 +221,7 @@ public class QywxCallbackController extends WebBaseController { ...@@ -222,12 +221,7 @@ public class QywxCallbackController extends WebBaseController {
if(!this.setTelType(callType,msg)) { if(!this.setTelType(callType,msg)) {
return; return;
} }
int type = json.getIntValue("type") ; msg.setContent(json.getString("recordwording"));
//3是未接听 1是正在打电话
if(type != 3) {
return ;
}
msg.setContent(json.getString("未接通"));
} else { } else {
msg.setMsgtype(OpenQwMsgTypeEnum.text); msg.setMsgtype(OpenQwMsgTypeEnum.text);
} }
......
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