Commit 57db326a by 徐高华

Merge branch 'feature/xgh/2406企微托管' into 'developer'

Feature/xgh/2406企微托管

See merge request !1946
parents 57044be9 a0617652
......@@ -214,24 +214,14 @@ public class QywxCallbackController extends WebBaseController {
return;
}
// //1代表对方取消 5代表语音结束
int recordtype = json.getIntValue("recordtype") ;
if(recordtype==5) {
msg.setContent(json.getString("recordwording"));
}else if(recordtype==1) {
msg.setContent("对方已取消");
}
msg.setContent(json.getString("recordwording"));
}else if (msgtype==503) {
// 2语音 1视频
int callType = json.getIntValue("invitetype") ;
if(!this.setTelType(callType,msg)) {
return;
}
int type = json.getIntValue("type") ;
//3是未接听 1是正在打电话
if(type != 3) {
return ;
}
msg.setContent(json.getString("未接通"));
msg.setContent(json.getString("recordwording"));
} else {
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