澜海正式接口上线。

master
赵鹏 11 months ago
parent 277aeebe30
commit 123b9de006

@ -60,10 +60,15 @@ define("JUHE_TRAIN_EXPORT_API","http://op.juhe.cn/trainTickets/exportAccountChan
//http://op.juhe.cn/trainTickets/exportAccountChange?key=79f03107b921ef31310bd40a1415c1cb&since=2016-10-01 00:00&before=2016-10-30 00:00
//澜海接口(测试)
define("LANHAI_appId","3649601564");
define("LANHAI_KEY","999c1DtJJ4pEbcxeEqJBKw==");
define("LANHAI_URL","http://ctriptest.lhticket.com/");
// //澜海接口(测试)
// define("LANHAI_appId","3649601564");
// define("LANHAI_KEY","999c1DtJJ4pEbcxeEqJBKw==");
// define("LANHAI_URL","http://ctriptest.lhticket.com/");
//澜海接口(正式)
define("LANHAI_appId","9082253783");
define("LANHAI_KEY","YZ6yrAbv0Qn8CsZwHtZExA==");
define("LANHAI_URL","http://ctrip.lhticket.com/");
//订单状态说明
$config["train_order_status_msg"]=array(

@ -897,8 +897,8 @@ class innerTrainSearch extends CI_Controller{
exit('传参错误!');
}
$back_json = $this->NewCtripApi($train_date,$fromStation,$toStation,true);
//$back_json = $this->LanHaiApi($train_date,$fromStation,$toStation,true);
//$back_json = $this->NewCtripApi($train_date,$fromStation,$toStation,true);
$back_json = $this->LanHaiApi($train_date,$fromStation,$toStation,true);
$train_info = new stdClass();
$train_info = json_decode($back_json);

@ -25,6 +25,11 @@ class LanHaiTicket extends CI_Controller
public function index()
{
//出票锁单接口: https://www.mycht.cn/info.php/apps/trainsystem/lanhaiticket/pushorderdetail?mainOrderId=HN1720670129499
//出票回调接口https://www.mycht.cn/info.php/apps/trainsystem/lanhaiticket/pushorderresult/
//退票锁单接口: https://www.mycht.cn/info.php/apps/trainsystem/lanhaiticket/refundorderdetail?dataId=82033
//退票回调接口: https://www.mycht.cn/info.php/apps/trainsystem/lanhaiticket/refundorderresult/
//退款回调接口https://www.mycht.cn/info.php/apps/trainsystem/lanhaiticket/refundpriceresult/
}
/**

Loading…
Cancel
Save