From b10f9c3f804effdecb51438360ff83c9682c907a Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 4 Sep 2023 15:52:48 +0800 Subject: [PATCH] update --- src/applet/app/controllers/AliCallBackController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applet/app/controllers/AliCallBackController.php b/src/applet/app/controllers/AliCallBackController.php index 307e832..b4e222e 100644 --- a/src/applet/app/controllers/AliCallBackController.php +++ b/src/applet/app/controllers/AliCallBackController.php @@ -96,7 +96,7 @@ class AliCallBackController extends \Phalcon\Mvc\Controller if (empty($userIdentity)) { $selfSupportForSchoolInfo = SelfSupportForUserFaceInfo::findFirst("user_id = '{$biz_content["buyer_id"]}'"); $this->logger(["selfSupportForSchoolInfo" => $selfSupportForSchoolInfo], 'alipay.planet.ecocampus.spi.trade.pay.detail', true); - if (!$selfSupportForSchoolInfo) { + if (!empty($selfSupportForSchoolInfo)) { $userIdentity = UserIdentity::findFirst("id = '{$selfSupportForSchoolInfo->user_identity_id}'"); $this->logger(["userIdentity2" => $userIdentity], 'alipay.planet.ecocampus.spi.trade.pay.detail', true); if (empty($userIdentity)) {