From 42060e66662f6a73bc7a26ca099f91508822aae6 Mon Sep 17 00:00:00 2001 From: lyt Date: Thu, 31 Jan 2019 16:37:37 +0800 Subject: [PATCH] =?UTF-8?q?ipaylinks=20=E9=80=80=E6=AC=BE=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E4=B8=8D=E6=9F=A5=E8=AF=A2stateCode?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/pay/controllers/iPayLinksService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webht/third_party/pay/controllers/iPayLinksService.php b/webht/third_party/pay/controllers/iPayLinksService.php index 685a5a42..f1f5bff1 100644 --- a/webht/third_party/pay/controllers/iPayLinksService.php +++ b/webht/third_party/pay/controllers/iPayLinksService.php @@ -724,7 +724,9 @@ class IPayLinksService extends CI_Controller ,strval($payer_name) ,strval($payer_email) ); - $query = $this->query_pay_result($asyns_resp->data); + if (strval($asyns_resp->data->resultCode) === "0000") { + $query = $this->query_pay_result($asyns_resp->data); + } // } // 返回状态码200 return;