限制拨打次数
This commit is contained in:
parent
2391e0786f
commit
72dd262f17
@ -63,4 +63,6 @@ dubbo:
|
||||
file: ${user.home}/dubbo-cache/${spring.application.name}/dubbo.cache
|
||||
consumer:
|
||||
check: false
|
||||
retries: 0
|
||||
timeout: 24000
|
||||
|
||||
|
@ -44,6 +44,8 @@ dubbo.application.qos-accept-foreign-ip=false
|
||||
## Dubbo Registry
|
||||
dubbo.registry.address=zookeeper://localhost:2181
|
||||
dubbo.registry.file=${user.home}/dubbo-cache/${spring.application.name}/dubbo.cache
|
||||
dubbo.provider.timeout=24000
|
||||
dubbo.provider.retries=0
|
||||
|
||||
# Service Version
|
||||
yo.fsagent.dubbo.service.version=1.0.0
|
||||
|
@ -118,8 +118,8 @@ public class CallController implements SessionAbility {
|
||||
// 过去2天未接通过
|
||||
// 当日拨打不超过2次
|
||||
// 当日拨打间隔为4小时
|
||||
// AssertUtils.state(callDetailRecordMapper.calledNumberCanDial(
|
||||
// tenantId, calledNumber), ErrorCode.DIAL_EXCEED);
|
||||
AssertUtils.state(callDetailRecordMapper.calledNumberCanDial(
|
||||
tenantId, calledNumber), ErrorCode.DIAL_EXCEED);
|
||||
|
||||
return doDial(account, calledNumber);
|
||||
}
|
||||
|
@ -35,5 +35,7 @@ yo.openapi.ivr-transfer.satisfaction=satisfaction
|
||||
## Dubbo Registry
|
||||
dubbo.registry.address=zookeeper://localhost:2181
|
||||
dubbo.registry.file=${user.home}/dubbo-cache/${spring.application.name}/dubbo.cache
|
||||
dubbo.consumer.timeout=24000
|
||||
dubbo.consumer.retries=0
|
||||
yo.fsagent.dubbo.service.version=1.0.0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user