修改百度智能外呼对接。
This commit is contained in:
parent
fc1bb1a8d4
commit
1d6ab9e19b
@ -286,8 +286,8 @@ aifuv-robots:
|
||||
aiob:
|
||||
# 请求地址
|
||||
url: https://aiob-open.baidu.com/api
|
||||
accessKey: b6d2d73cdf2d4d7ca2ccc84968accdb3
|
||||
secretKey: 9262d2fe32544eaabce18331bd5ca2c5
|
||||
accessKey: 9a61c68abf134ab9823e39f61f2c2f72
|
||||
secretKey: 4287bfa1d5a34c229aacb5e056c94682
|
||||
# 任务执行回调地址--测试
|
||||
callBackUrl: http://8.131.93.145:54011/api/taskCallBack
|
||||
|
||||
|
||||
@ -327,7 +327,6 @@ public class AIOBServiceImpl implements IAIOBService {
|
||||
// 获取电话已拨打次数
|
||||
PhoneDialRecord phoneDialRecordQuery = new PhoneDialRecord();
|
||||
phoneDialRecordQuery.setManageRouteNodeId(signPatientManageRouteNode.getId());
|
||||
List<PhoneDialRecord> phoneDialRecordList = phoneDialRecordMapper.selectPhoneDialRecordList(phoneDialRecordQuery);
|
||||
// 电话拨打未成功,判断是否需要重拨;电话拨打成功,设置电话拨通情况为成功
|
||||
if (data.getEndType() != null && data.getEndType() == 0) {//接通状态,1-已接通 0-未接通
|
||||
// 不需要重拨,设置电话拨通情况
|
||||
@ -364,8 +363,7 @@ public class AIOBServiceImpl implements IAIOBService {
|
||||
|
||||
// 发送短信
|
||||
if (needSendSms) {
|
||||
System.out.println("发送短信");
|
||||
//sendSms(signPatientManageRoute.getPatientId(), signPatientManageRouteNode);
|
||||
sendSms(signPatientManageRoute.getPatientId(), signPatientManageRouteNode);
|
||||
}
|
||||
}
|
||||
// 增加任务执行记录
|
||||
|
||||
Loading…
Reference in New Issue
Block a user