diff --git a/api/controllers/plan/Xzcall.php b/api/controllers/plan/Xzcall.php index 5edb5fd4..5119eef9 100644 --- a/api/controllers/plan/Xzcall.php +++ b/api/controllers/plan/Xzcall.php @@ -32,6 +32,12 @@ class Xzcall extends HD_Controller debug_log("start function:" . __FUNCTION__, $this->log_file); $data = $this->input->post(); debug_log('data:' . json_encode($data, JSON_UNESCAPED_UNICODE), $this->log_file); + if($data['virtualMobile']=='13391247942'){ //推送test环境 + $url = "https://api.lc.haodian.cn/plan/xzcall"; + $res = $this->mycurl->httpPost($url,$data); + debug_log('结束,推送test环境:'.json_encode($res,JSON_UNESCAPED_UNICODE), $this->log_file); + exit; + } if ($data && $data['seqId']) { $row = $this->receiver_xz_model->get(array('call_id' => $data['seqId'])); if ($row) {