add-plan-zx_to_test
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user