diff --git a/webht/third_party/pay/controllers/AlipayTradeService.php b/webht/third_party/pay/controllers/AlipayTradeService.php index 72afdff1..f5a38bdc 100644 --- a/webht/third_party/pay/controllers/AlipayTradeService.php +++ b/webht/third_party/pay/controllers/AlipayTradeService.php @@ -402,9 +402,9 @@ class AlipayTradeService extends CI_Controller $item->ALI_dealId, $ht_memo ); + // 更新订单主表付款方式,防止没访问thankyou-train.asp + $this->Alipay_model->update_paymanner($GAI_COLI_SN); if ($advisor_info->COLI_Department == 10) { - // 更新订单主表付款方式,防止没访问thankyou-train.asp - $this->Alipay_model->update_paymanner($GAI_COLI_SN); // 把订单状态设置为13-新订单已支付 $this->Alipay_model->update_biz_coli_state($GAI_COLI_SN, 13); } diff --git a/webht/third_party/pay/controllers/iPayLinksService.php b/webht/third_party/pay/controllers/iPayLinksService.php index da3f5b65..7979b89d 100644 --- a/webht/third_party/pay/controllers/iPayLinksService.php +++ b/webht/third_party/pay/controllers/iPayLinksService.php @@ -417,9 +417,9 @@ class IPayLinksService extends CI_Controller $item->IPL_dealId, $ht_memo ); + // 更新订单主表付款方式,防止没访问thankyou-train.asp + $this->IPayLinks_model->update_paymanner($GAI_COLI_SN); if ($advisor_info->COLI_Department == 10) { - // 更新订单主表付款方式,防止没访问thankyou-train.asp - $this->IPayLinks_model->update_paymanner($GAI_COLI_SN); // 把订单状态设置为13-新订单已支付 $this->IPayLinks_model->update_biz_coli_state($GAI_COLI_SN, 13); } diff --git a/webht/third_party/paypal/controllers/index.php b/webht/third_party/paypal/controllers/index.php index 83bf9e3b..fe5f02ee 100644 --- a/webht/third_party/paypal/controllers/index.php +++ b/webht/third_party/paypal/controllers/index.php @@ -801,9 +801,9 @@ class Index extends CI_Controller { } else { $ssje = $this->Paypal_model->get_ssje($item->pn_mc_gross, '15002', mb_strtoupper($item->pn_mc_currency)); $this->Paypal_model->add_account_info($GAI_COLI_SN, $advisor_info->COLI_ID, $item->pn_mc_gross, $item->pn_payment_date, mb_strtoupper($item->pn_mc_currency), $ssje, $item->pn_payment_date, $item->pn_payment_date, $item->pn_payment_date, '', $item->pn_payer_email, $item->pn_txn_id, $ht_memo); + // 更新订单主表付款方式,防止没访问thankyou-train.asp + $this->Paypal_model->update_paymanner($GAI_COLI_SN, '15010'); if ($advisor_info->COLI_Department == 10) { - // 更新订单主表付款方式,防止没访问thankyou-train.asp - $this->Paypal_model->update_paymanner($GAI_COLI_SN, '15010'); // 把订单状态设置为13-新订单已支付 $this->Paypal_model->update_biz_coli_state($GAI_COLI_SN, 13); }