From 0ccb2558872378aba113fe1eae733fde3d5aef10 Mon Sep 17 00:00:00 2001 From: lcc <805383944@qq.com> Date: Tue, 2 Sep 2025 11:00:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8B=A8=E6=89=93=E7=94=B5?= =?UTF-8?q?=E8=AF=9D=E9=99=90=E5=88=B6=E9=97=A8=E5=BA=97=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/controllers/wxapp/licheb/Xz.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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;