修改拨打电话限制门店类型

This commit is contained in:
lcc
2025-09-02 11:00:28 +08:00
parent 4651bae2ef
commit 0ccb255887
+6 -2
View File
@@ -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;