From 8d282612a8a40e6c1bd0117b85a65323f67e76ce Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Thu, 16 May 2024 13:42:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=8C=BA=E5=8F=B7=E5=92=8C?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=8F=B7=E4=BF=9D=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/order/controllers/confirm.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/application/third_party/order/controllers/confirm.php b/application/third_party/order/controllers/confirm.php index b9456889..fc3901ae 100644 --- a/application/third_party/order/controllers/confirm.php +++ b/application/third_party/order/controllers/confirm.php @@ -80,10 +80,11 @@ class Confirm extends CI_Controller { $passport = $this->input->post('passport'); $expiration_date = $this->input->post('passport_expiration_date'); $nationality = $this->input->post('nationality'); - + $occupation=$this->input->post('occupation'); - $contact_phone = '手机:' . $this->input->post('mobile'); + $country_code = $this->input->post('country_code'); + $contact_phone = $country_code . ' ' . $this->input->post('mobile'); $COLI_SN = $this->input->post('COLI_SN'); $visitor_link = $this->input->post('visitor_link'); $COLI_ID = $this->input->post('COLI_ID'); @@ -97,7 +98,7 @@ class Confirm extends CI_Controller { //已经确认过 $had_save = $this->Order_model->get_visitor_link($COLI_SN, $visitor_link); - + if (!empty($had_save)) { echo json_encode(array('status' => 'ok')); return; @@ -162,7 +163,7 @@ class Confirm extends CI_Controller { echo json_encode(array('status' => 'no')); } } - + function review() { header('Content-type: application/json;charset=utf-8'); $data = array();