From 5e38e25b1c156728c8a2da420543ef323390c254 Mon Sep 17 00:00:00 2001 From: lccsw <1127794702@qq.com> Date: Sat, 14 May 2022 10:12:51 +0800 Subject: [PATCH] add-plan-zx_to_test --- api/controllers/plan/Xzcall.php | 6 ++++++ 1 file changed, 6 insertions(+) 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) {