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; + } }