diff --git a/api/controllers/wxapp/licheb/Xz.php b/api/controllers/wxapp/licheb/Xz.php index afd97e6c..0ab3717b 100644 --- a/api/controllers/wxapp/licheb/Xz.php +++ b/api/controllers/wxapp/licheb/Xz.php @@ -26,14 +26,18 @@ class Xz extends Wxapp $this->load->library('carHome/callOutWechat'); $this->load->model('sys/sys_config_model', 'confModel'); $this->load->model('receiver/receiver_call_wechat_model', 'callWechat'); + $this->load->model("biz/biz_model"); $this->log_file = 'call.log'; } protected function get() { + $biz = $this->get_biz_info(); + $biz_type = $biz['type']; + if ($biz_type != Biz_model::BIZ_TYPE_4s) { + throw new Hd_Exception('系统调整,暂停服务', API_CODE_FAIL); + } //平安外呼 -// throw new Hd_Exception('系统调整,暂停服务', API_CODE_FAIL); -// return; $id = $this->input_param('id'); $type = intval($this->input_param('type')); !$type && $type = 0;