trippest 团款直接按照接口返回的写入

feature/pay
lyt 7 years ago
parent 3526c9ce83
commit 4347c58062

@ -316,9 +316,9 @@ log_message('error','new coli ' . $this->Orders_model->BIZ_COLI_ID);
$this->Orders_model->biz_groupaccountinfo_cut($order->COLI_SN, $paytype);
if (isset($detail_jsonResp->orderDetail->travelFees) && $order->GCI_FromAgc != "D目的地桂林组") {
foreach ($detail_jsonResp->orderDetail->travelFees as $ktf => $vtf) {
if ($vtf->reviewStatus == 0) { // 未审核的
continue;
}
// if ($vtf->reviewStatus == 0) { // 未审核的
// continue;
// }
$this->Orders_model->GAI_COLI_SN = $order->COLI_SN;
$this->Orders_model->GAI_GRI_SN = $order->COLI_GRI_SN;
$this->Orders_model->GAI_COLI_ID = $order->COLI_ID;
@ -332,9 +332,9 @@ log_message('error','new coli ' . $this->Orders_model->BIZ_COLI_ID);
// 代收
if (isset($detail_jsonResp->orderDetail->replaceCollections)) {
foreach ($detail_jsonResp->orderDetail->replaceCollections as $krc => $vrc) {
if ($vrc->reviewStatus == 0) {
continue;
}
// if ($vrc->reviewStatus == 0) {
// continue;
// }
$this->Orders_model->GAI_COLI_SN = $order->COLI_SN;
$this->Orders_model->GAI_GRI_SN = $order->COLI_GRI_SN;
$this->Orders_model->GAI_COLI_ID = $order->COLI_ID;
@ -348,9 +348,9 @@ log_message('error','new coli ' . $this->Orders_model->BIZ_COLI_ID);
// 代付
if (isset($detail_jsonResp->orderDetail->replacePays)) {
foreach ($detail_jsonResp->orderDetail->replacePays as $krp => $vrp) {
if ($vrp->reviewStatus == 0) {
continue;
}
// if ($vrp->reviewStatus == 0) {
// continue;
// }
$this->Orders_model->GAI_COLI_SN = $order->COLI_SN;
$this->Orders_model->GAI_GRI_SN = $order->COLI_GRI_SN;
$this->Orders_model->GAI_COLI_ID = $order->COLI_ID;

Loading…
Cancel
Save