From 61e9de8d6322a0d52a72375f5cc0878ea37421bc Mon Sep 17 00:00:00 2001 From: cyc Date: Thu, 9 Apr 2020 10:33:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=90=BA=E7=A8=8B=E6=AD=A3?= =?UTF-8?q?=E5=BC=8F=E6=8F=90=E4=BA=A4=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/trainsystem/controllers/addorders.php | 7 +------ application/third_party/trainsystem/views/homepage.php | 4 ++-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/application/third_party/trainsystem/controllers/addorders.php b/application/third_party/trainsystem/controllers/addorders.php index 2a2b7671..d3224780 100644 --- a/application/third_party/trainsystem/controllers/addorders.php +++ b/application/third_party/trainsystem/controllers/addorders.php @@ -697,15 +697,10 @@ class addorders extends CI_Controller{ //存储到数据库 $this->train_system_model->add_orders($add_data); - - //$Url = 'http://m.ctrip.com/restapi/soa2/11009/json/PartnerAddOrder'; - $Url = 'http://apiproxy.fws.ctripqa.com/apiproxy/soa2/13680/json/PartnerAddOrder'; + $Url = 'http://apiproxy.crip.com/apiproxy/soa2/13680/json/PartnerAddOrder'; $ResponseJson = GetPost_http($Url,json_encode($PostData),'json'); $ResponseData = json_decode($ResponseJson); - echo '预定'; - print_r($ResponseData);die(); - //预定请求成功后执行支付 if($ResponseData->Status == 'SUCCESS'){ //计算订单总价,进行支付 diff --git a/application/third_party/trainsystem/views/homepage.php b/application/third_party/trainsystem/views/homepage.php index 56f0d64e..49127619 100644 --- a/application/third_party/trainsystem/views/homepage.php +++ b/application/third_party/trainsystem/views/homepage.php @@ -297,13 +297,13 @@ function selseat(seat){ - +