|
|
@ -49,6 +49,7 @@ class Tulanduo
|
|
|
|
public $list_url = "http://ltdj.ltsoftware.net:19919/action/api/searchRouteOrder/";
|
|
|
|
public $list_url = "http://ltdj.ltsoftware.net:19919/action/api/searchRouteOrder/";
|
|
|
|
public $detail_url = "http://ltdj.ltsoftware.net:19919/action/api/detailRouteOrder/";
|
|
|
|
public $detail_url = "http://ltdj.ltsoftware.net:19919/action/api/detailRouteOrder/";
|
|
|
|
public $neworder_url = "http://ltdj.ltsoftware.net:19919/action/api/addOrUpdateRouteOrder/";
|
|
|
|
public $neworder_url = "http://ltdj.ltsoftware.net:19919/action/api/addOrUpdateRouteOrder/";
|
|
|
|
|
|
|
|
// public $neworder_url = "http://ltdj.ltsoftware.net:18888/action/api/addOrUpdateRouteOrder/";
|
|
|
|
// Live
|
|
|
|
// Live
|
|
|
|
// public $list_url = "http://djb3c.ltsoftware.net:9921/action/api/searchRouteOrder/";
|
|
|
|
// public $list_url = "http://djb3c.ltsoftware.net:9921/action/api/searchRouteOrder/";
|
|
|
|
// public $detail_url = "http://djb3c.ltsoftware.net:9921/action/api/detailRouteOrder/";
|
|
|
|
// public $detail_url = "http://djb3c.ltsoftware.net:9921/action/api/detailRouteOrder/";
|
|
|
@ -260,6 +261,9 @@ class Tulanduo
|
|
|
|
if (isset($vgrd->back_traffic)) {
|
|
|
|
if (isset($vgrd->back_traffic)) {
|
|
|
|
$this->ci->tldOrderBuilder->setBackTraffic(trim($vgrd->back_traffic));
|
|
|
|
$this->ci->tldOrderBuilder->setBackTraffic(trim($vgrd->back_traffic));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (isset($vgrd->vendor_memo)) {
|
|
|
|
|
|
|
|
$this->ci->tldOrderBuilder->setOrderRemark(trim($vgrd->vendor_memo));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -845,6 +849,9 @@ log_message('error',$resp);
|
|
|
|
->setTravelFeesUnit($fee_index, 1)
|
|
|
|
->setTravelFeesUnit($fee_index, 1)
|
|
|
|
->setTravelFeesSumMoney($fee_index, $travel_fees->SUM_SSJE);
|
|
|
|
->setTravelFeesSumMoney($fee_index, $travel_fees->SUM_SSJE);
|
|
|
|
++$fee_index;
|
|
|
|
++$fee_index;
|
|
|
|
|
|
|
|
$this->ci->tldOrderBuilder->setReplaceCollectionsType(0, "Per Group")
|
|
|
|
|
|
|
|
->setReplaceCollectionsMoney(0, $travel_fees->SUM_SSJE)
|
|
|
|
|
|
|
|
->setReplaceCollectionsRemark(0, "测试代收备注 " . $travel_fees->SUM_SSJE);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if ( ! empty($replace_collections) ) {
|
|
|
|
if ( ! empty($replace_collections) ) {
|
|
|
|
$this->ci->tldOrderBuilder->setReplaceCollectionsType(0, "Per Group")
|
|
|
|
$this->ci->tldOrderBuilder->setReplaceCollectionsType(0, "Per Group")
|
|
|
@ -863,6 +870,7 @@ log_message('error',$resp);
|
|
|
|
$vps_sn = 0;
|
|
|
|
$vps_sn = 0;
|
|
|
|
$vendor_orderid = 0;
|
|
|
|
$vendor_orderid = 0;
|
|
|
|
$this->ci->tldOrderBuilder->clearModifyLogInfo();
|
|
|
|
$this->ci->tldOrderBuilder->clearModifyLogInfo();
|
|
|
|
|
|
|
|
echo $this->ci->tldOrderBuilder->getBizContent();
|
|
|
|
$resp = $this->excute_curl($this->neworder_url, $this->ci->tldOrderBuilder);
|
|
|
|
$resp = $this->excute_curl($this->neworder_url, $this->ci->tldOrderBuilder);
|
|
|
|
$response = json_decode($resp);
|
|
|
|
$response = json_decode($resp);
|
|
|
|
if ($response->status == 1) {
|
|
|
|
if ($response->status == 1) {
|
|
|
|