|
|
|
|
@ -359,7 +359,7 @@ class TulanduoApi extends CI_Controller
|
|
|
|
|
/*BIZ_PackageOrderInfo*/
|
|
|
|
|
$this->Orders_model->POI_COLD_SN = $cold_sn;
|
|
|
|
|
$this->Orders_model->POI_Time = $detail_jsonResp->orderDetail->travelDate;
|
|
|
|
|
$this->Orders_model->POI_Hotel = $detail_jsonResp->orderDetail->scheduleDetails[0]->accommodation;
|
|
|
|
|
$this->Orders_model->POI_Hotel = isset($detail_jsonResp->orderDetail->scheduleDetails[0]->accommodation) ? $detail_jsonResp->orderDetail->scheduleDetails[0]->accommodation : '';
|
|
|
|
|
$this->Orders_model->POI_HotelAddress = $detail_jsonResp->orderDetail->scheduleDetails[0]->accommodationAddress;
|
|
|
|
|
$this->Orders_model->POI_HotelPhone = $detail_jsonResp->orderDetail->scheduleDetails[0]->accommodationTelNo;
|
|
|
|
|
$this->Orders_model->POI_EndTime = $detail_jsonResp->orderDetail->leaveDate;
|
|
|
|
|
@ -390,8 +390,9 @@ class TulanduoApi extends CI_Controller
|
|
|
|
|
$this->Orders_model->biz_groupaccountinfo_save();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// 目的地项目组的订单为了避免重复录入, 外联会沟通录入, 这里不写入. todo
|
|
|
|
|
// 代收
|
|
|
|
|
if (isset($detail_jsonResp->orderDetail->replaceCollections)) {
|
|
|
|
|
if (isset($detail_jsonResp->orderDetail->replaceCollections) && ! in_array($order->GCI_FromAgc, array("D目的地桂林组", "Trippest")) ) {
|
|
|
|
|
foreach ($detail_jsonResp->orderDetail->replaceCollections as $krc => $vrc) {
|
|
|
|
|
// if ($vrc->reviewStatus == 0) {
|
|
|
|
|
// continue;
|
|
|
|
|
@ -410,7 +411,7 @@ class TulanduoApi extends CI_Controller
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// 代付
|
|
|
|
|
if (isset($detail_jsonResp->orderDetail->replacePays)) {
|
|
|
|
|
if (isset($detail_jsonResp->orderDetail->replacePays) && ! in_array($order->GCI_FromAgc, array("D目的地桂林组", "Trippest")) ) {
|
|
|
|
|
foreach ($detail_jsonResp->orderDetail->replacePays as $krp => $vrp) {
|
|
|
|
|
// if ($vrp->reviewStatus == 0) {
|
|
|
|
|
// continue;
|
|
|
|
|
|