From 677fd65730edc26799c16d3dc0b7014c2f6f8973 Mon Sep 17 00:00:00 2001 From: lyt Date: Sun, 26 May 2019 14:53:18 +0800 Subject: [PATCH] =?UTF-8?q?iPaylinks=E7=9A=84APP=E7=BB=84=E9=80=80?= =?UTF-8?q?=E6=AC=BE=E8=AE=A2=E5=8D=95=E5=8F=B7=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/iPayLinksService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/webht/third_party/pay/controllers/iPayLinksService.php b/webht/third_party/pay/controllers/iPayLinksService.php index f080c8fe..b5f5085e 100644 --- a/webht/third_party/pay/controllers/iPayLinksService.php +++ b/webht/third_party/pay/controllers/iPayLinksService.php @@ -603,6 +603,7 @@ class IPayLinksService extends CI_Controller $parent_note = $this->Note_model->note($parent_dealId); // APP 组的退款查不到原始收款记录 $pure_orderid = strstr($parent_order,"_",true); + $pure_orderid = $pure_orderid===false ? $parent_order : $pure_orderid; if (empty($parent_note) && true === $this->IPayLinks_model->if_APP_order($pure_orderid) ) { $parent_note = $parent_payment; // 补充字段