From 52e14744e89faa0f13273ce101ec5c6e6e1ef440 Mon Sep 17 00:00:00 2001 From: lyt Date: Mon, 20 Nov 2017 10:17:58 +0800 Subject: [PATCH] =?UTF-8?q?ipaylinks=20=E5=95=86=E5=8A=A1=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E7=9A=84=E4=BB=98=E6=AC=BE=E5=A2=9E=E5=8A=A0=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E4=B8=BB=E8=A1=A8=E7=9A=84=E4=BB=98=E6=AC=BE=E6=96=B9?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/pay/controllers/iPayLinksService.php | 2 ++ webht/third_party/pay/models/IPayLinks_model.php | 12 ++++++++++++ 2 files changed, 14 insertions(+) diff --git a/webht/third_party/pay/controllers/iPayLinksService.php b/webht/third_party/pay/controllers/iPayLinksService.php index ec19d471..b2f4f989 100644 --- a/webht/third_party/pay/controllers/iPayLinksService.php +++ b/webht/third_party/pay/controllers/iPayLinksService.php @@ -416,6 +416,8 @@ class IPayLinksService extends CI_Controller $item->IPL_dealId, $ht_memo ); + // 更新订单主表付款方式,防止没访问thankyou-train.asp + $this->IPayLinks_model->update_paymanner($GAI_COLI_SN); } } //更新还没有填的客邮和交易号de收款记录(传统订单) diff --git a/webht/third_party/pay/models/IPayLinks_model.php b/webht/third_party/pay/models/IPayLinks_model.php index 969c79c7..b616707f 100644 --- a/webht/third_party/pay/models/IPayLinks_model.php +++ b/webht/third_party/pay/models/IPayLinks_model.php @@ -294,4 +294,16 @@ class IPayLinks_model extends CI_Model { } return 0; } + + /*! + * 更新订单主表付款方式,防止没访问thankyou-train.asp + * @author LYT + * @date 2017-11-20 + */ + public function update_paymanner($COLI_SN) + { + $sql = "UPDATE BIZ_ConfirmLineInfo SET COLI_PayManner = '15018' WHERE COLI_SN=? "; + $query = $this->HT->query($sql, array($COLI_SN)); + return $query; + } }