From 6ce3c4b338838f1f429f1e5b56a065c51dd5b0df Mon Sep 17 00:00:00 2001 From: lyt Date: Fri, 19 Apr 2019 16:55:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/AlipayTradeService.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webht/third_party/pay/controllers/AlipayTradeService.php b/webht/third_party/pay/controllers/AlipayTradeService.php index 2c414461..d9f4cf39 100644 --- a/webht/third_party/pay/controllers/AlipayTradeService.php +++ b/webht/third_party/pay/controllers/AlipayTradeService.php @@ -621,7 +621,9 @@ var_dump($response->$responseNode); $data['notelist'] = $this->Alipay_note_model->search_key($data['keywords']); /** 手动查询通过收钱码的收款, 必须输入交易号 */ if (empty($data['notelist'])) { + log_message('error','Alipay query ' . $data["keywords"]); $query_pay = $this->query_pay($data["keywords"]); + log_message('error','Alipay query result ' . var_export($query_pay, 1)); if ( ! empty($query_pay) && strval($query_pay->code)==="10000" && strval($query_pay->trade_status)==="TRADE_SUCCESS") { $pay_type = $query_pay->total_amount>0 ? "pay" : "refund"; $new_record = $this->Alipay_note_model->save_alipay(