|
|
|
@ -577,7 +577,7 @@ class innerTrainSearch extends CI_Controller{
|
|
|
|
|
$strSign = $TimeStamp.$serviceName.$companyId.$key;
|
|
|
|
|
$sign = md5($strSign);
|
|
|
|
|
$E_sign = md5(urlencode($strSign));
|
|
|
|
|
echo($strSign . "<hr/>");
|
|
|
|
|
//echo($strSign . "<hr/>");
|
|
|
|
|
echo($sign. "<hr/>");
|
|
|
|
|
echo($E_sign. "<hr/>");
|
|
|
|
|
$JSONRETURN = "http://apiproxy-uat.ctripqa.com/apiproxy/soa2/19946";
|
|
|
|
@ -610,7 +610,7 @@ class innerTrainSearch extends CI_Controller{
|
|
|
|
|
$post_data_train->authentication->companyId = $companyId;
|
|
|
|
|
$post_data_train->authentication->messageIdentity = $sign_train;
|
|
|
|
|
$post_data_train->searchTrainsParam = new stdClass();
|
|
|
|
|
$post_data_train->searchTrainsParam->departDate = "2022-07-22";
|
|
|
|
|
$post_data_train->searchTrainsParam->departDate = date("Y-m-d",strtotime("3 day")); //"2022-07-22";
|
|
|
|
|
$post_data_train->searchTrainsParam->fromStationName = "北京";
|
|
|
|
|
$post_data_train->searchTrainsParam->toStationName = "深圳";
|
|
|
|
|
|
|
|
|
|