add-plan-zx_to_test

This commit is contained in:
lccsw
2022-05-14 10:12:51 +08:00
parent 6d93e5649a
commit 5e38e25b1c
+6
View File
@@ -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) {